How many users/ schemas can we create in an oracle database?

How many users can we create in an oracle database? Or how many users can oracle handle?
Problem-
I have to store information of ontologies (I will use countries instead) in db.
I have to store information regarding countries.
I have 13 tables in all to maintain for each country.
Now there are two approaches:
1) keep only 13 tables. Have an extra column in each table to indicate that a particular
row stores information for which country.
2) create a new user/ schema for each country. So we can get rid of the extra column
needed in 1st approach.
I have used the second approach. This is because number of entries in each table for a
given country will be large.
So initially when the s/w is installed I create a central-user. Each time data for new
country has to be entered central-user creates a user/ schema, and creates tables for
this user/ schema. The central user can access the tables of all the countries by
country_name.table_name. By this approach I believe searching would be easy.
If there is any flaw in my approach kindly mention it.
Thank you

There is no (practical at least) limit to the number of users & schemas you can have in Oracle.
Your approach, however, is not going to scale nearly as well as the first option you outlined (adding a column). You are going to end up caching every possible variation of the various queries you're going to be executing because you will be referring to so many different tables, which is going to mean that you are doing a lot more work to parsing statements and generally churning through the shared pool. If you create enough users, you're liable to start hitting ORA-04030 errors because your shared pool is so fragmented.
Additionally, you're likely going to end up with a whole lot of dynamically generated SQL to accommodate new schemas getting added over time which is going to cause you even more pain. Figuring out dynamically what table to join in is a heck of a lot more difficult for the programmer to write and for the database to handle than simply passing in a different country code.
If you're concerned about having too much data, you can have your cake and eat it to by adding the country column and partitioning the tables based on country.
Justin
One other item I forgot to mention is maintainability. Having dozens or hundreds of "identical" schemas makes maintenance a huge pain because something like adding a new column now requires dozens or hundreds of separate DDL statements. You're almost guaranteed that some schema isn't going to be in sync-- it's going to miss a column or miss an index, etc.
Message was edited by:
Justin Cave

Similar Messages

  • At max how many logical columns can be created in RPD

    Hi All,
    At max how many logical columns can be created in RPD. I have a requirement of creating 200 columns. Will there be any problem .
    Is there any predefind number of columns for RPD creation??
    Please help ..

    Hi Annapurna,
    There's no limit that I'm aware of or which is mentioned anywhere. Just as an example: I have a logical fact table with around 750 logical columns (>500 original measures & 250 derived measures). No issue whatsoever. Opening the presentation table through answers takes about 2-3 seconds (the NQSQL command has a lot to retrieve), but that's about it.
    Cheers,
    C.

  • How many physical standbys can be created in one data guard environment?

    Hi Experts,
    How many physical standbys can be created from primary in one data guard environment? Why LOG_ARCHIVE_CONFIG limits up to 9 unique database names? Thanks.

    Victor Jin-Oracle wrote:
    Hi Experts,
    How many physical standbys can be created from primary in one data guard environment? Why LOG_ARCHIVE_CONFIG limits up to 9 unique database names? Thanks.
    Post the source of your information abouit the limit of 9 names.
    Even the Oracle doc shows 1..30 names in the same provided although that doesn't necessarily indicate a limit.
    https://docs.oracle.com/database/121/REFRN/refrn10237.htm

  • How many icloud account can we create with one ios device???

    how many icloud account can we create with one ios device???

    i need more then 1 account as i owe itunes some money and i cant access my app store so if i change my icloud account .....all my previous history wont be tracked

  • How many server nodes can you create per instance

    Hi,
    Very often the bottle neck in a java installation (NW04s) is the heap size. In order to increase the heap you simple create new server nodes.
    My question is:
    How many server nodes can you create per instance?
    Is there an upper limit before you have to create a new dialog instance (with a web dispatcher)?
    I can imagine that when you create a new server node you also have to increase the heap and max therad of the dispatcher. Is there any upper limit of the heap size of the dispatcher node ?

    Rasmus , I think you laid out a real good scenario for every one to contribute
    I may be very late but just updating this forum for benefit of everyone who visits this.
    In addition to all the points above one must also consider following things if one decides to add more server nodes to one dispatcher
    1.Garbage collection time
    2.Dispatcher would keep on sending request to node S2 if it is not completely bad and there by impacting all the servernode       so  you might end up restartiing the entire cluster.
    3,Debugging also becomes diffculy as you are not sure on which server node you are within the cluster.
    4.If you have something like F5 which does hear beat monitoring even one server node goes bad F5 will not report anything.
    So in my view one server node per dispatcher is an ideal configuration.
    Over All Dispatcher does not consume more resouces (Disk Space + CPU + memory ) at the same time it will give you maintenance flexibility.
    Nothing is right or wrong ,all these things are based on how your infrastructure set up is.
    Cheers !!
    Manish Jain

  • How many users/programs can access a cFP or cRIO channel set

    I have used cFP and regular FP for years, but just found a method to gather data from the units without FTP or accessing the flash drives.  My question is this, using a FP read VI, or cRIO read VI, how many users can read that data before the cFP or cRIO crash?  Can I access that data without influencing the embedded program? 
    Thanks,
    Bill

    Hey Bill.
    If the data is being sent to shared variables there shouldn't be a limit to the number of "users" or "programs" that can access the data from the shared variables.
    Regards,
    Claire Reid
    National Instruments

  • How many softMotion references can you create on an Interface Object

    I'm wondering how many softmotion references I can create on an interface object.  For example can I create a straight line move on an axis, keep that reference open then at the same time create another line move referece on a coordinate space that using that same axis?
    Can I have multiple line move references open at the same time on the same axis?
    Thanks,
    SteveA
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC

    Thanks Paul,
    I have noticed that the SoftMotion express vis open a reference on first call, but they never close the reference.  On my machine I will be doing regular coordinate moves and from time to time I will need to perform an Axis move.  Would it be better practice to close each reference after I perform the move?  How much overhead does it take to create a new reference?  The thought I had on keeping multiple reference open was to minimize the overhead in opening a reference.  Once my system gives a trigger to perform a move, I need it to be very responsive.
    Thanks,
    Steve
    SteveA
    CLD
    FPGA/RT/PDA/TP/DSC

  • Can't create Connection to Oracle Database

    Hi i'm trying to create a simple connection to my oracle database and my projects compiles, but at the "createConnection" statement an SQLException is thrown.
    Well first of all my stats:
    Windows XP 32 bit
    Visual Studio 2005 (VC++ 8)
    Oracle Database 10g Express Edition Release 10.2.0.1.0
    OCCI
    I have already included the "..\OCI\include" directory to my projects additional include directories, the path to the new OCCI dll's and lib's to my additional library dierctories and i have also included the "oraocci10d.lib" to my additional dependencies for the linker.
    Now here is the code i'm trying to run (it's just the code of an OCCI sample modified to my preferences):
    1 #include <stdlib.h>
    2 #include <occi.h>
    3 #include <iostream>
    4 using namespace oracle::occi;
    5 using namespace std;
    6
    7 int main () {
    8     //create environment and connection
    9     string user = "myUser";
    10     string pw = "myPW";
    11     string db = "localhost:1521/XE";
    12     Environment *env = Environment::createEnvironment(Environment::DEFAULT);
    13     Connection *conn = env->createConnection(user, pw, db);
    14     cout << "Environment and Connection created" << endl;
    15
    16     //execute a SQL statement
    17     Statement *stmt = conn->createStatement();
    18     stmt->setSQL("INSERT into FRUITS (fruit, amt) VALUES ('apple', 10)");
    19     stmt->executeUpdate();
    20     conn->terminateStatement(stmt);
    21
    22     //terminate environment and connection
    23     env->terminateConnection(conn);
    24     Environment::terminateEnvironment(env);
    25     cout << "Environment and Connection terminated" << endl;
    26
    27     return 0;
    28 }
    The code crashes at line 13, where i'm trying to create the connection.
    Visual Studio breaks and is giving the information, that an SQLException occured.
    I looked for the Error code given by the exception and it's 24960.
    Well i've found some threads working around that problem, but nothing worked properly to my problem.
    Can anyone help me out of my problem?
    Addition: I've already debugged the code and the pointer to the environment is good, so this possible cause of the exception (Null-Pointer) is out!
    Thanks for any advice!
    Edited by: [email protected] on 08.06.2010 10:34

    Well i've found a post at a similar thread, where somebody told to try to compile and run the project in release mode.
    Incredibly it works fine, but only for release mode as i told.
    The debug mode is still having the same problem...
    If somebody has an idea how to solve this problem please let me know!
    Thanks, olf77.

  • How many iCloud accounts can you create on Mac?

    I use different emails for different purposes (subscriptions,  shopping, forums, iTunes, etc.). With that in mind, I created 3 iCloud email accounts on my iPad and upon trying to register a 4th one I was told that this device is no longer eligible to create an iCloud account. Anyways, does the same rule apply to Macs (3 IDs per device)?

    Why not create aliases to your primary iCloud mail account for those other email needs.  That way you can access all emails from each of your devices with the same email client, Mail. On your Mac Just create a Rule to put emails to each alias in its own specific folder.
    OT

  • Hello! Getting Adobe Creative for our office, just wondering how many users we can assign under one license? If that person leaves, is the user transferable?

     

    Thanks so much, Deto.
    I'm a bit concerned because we have a lot of transitions on our teams and once we leave the office, our computers are swiped. I'm worried that if we make the purchase and the two people we assign to use the software leave that we'll be left with no one who can use the Suite. Any suggestions for how to maneuver around that?

  • How many users can 1 Xserve support?

    I have one Xserve (10.5.2, 2x3GHz, 5GB RAM, 1.34TB RAID 5) that I want to support the following services for my SMB:
    DNS, DHCP
    AFP, NFS, SMB
    Open Directory
    Print
    Software Update
    I also want to have mobile sync'd network home folders, but only for ~/Documents and iCals and Address Books (I don't want everyone's MP3s or family photos).
    I occasionally will use NetBoot/NetInstall, but only 1-2 users at once.
    I am getting ready to migrate my company to OpenDirectory and 10.5.2 for all users and was hoping someone here might be able to tell me how many users I can reasonably support with one Xserve.
    Also, is it a bad idea to have everyone using "mobile" accounts? It seems like it would be less strain on the server to have the occasional sync from users than everyone reading & writing all the time. Also, if anything happened, there would be a local copy and a remote copy of any files.
    Thanks.

    Rosemarie,
    BeehiveOnline currently supports 95,000 users and we have groups on the system as large as 10,000, that is probably about as big as we want to go - remember collaborating with 10,000 users is not an effective way of working - maybe a more open way of delivering content may be more appropriate. Given that the only issues we have with very large groups is the time it takes to run and the email traffic it generates as the large group are processed.
    So it is possible to host 10,000 in a group but we need to be warned in advance and work with you to minimise the impact as the group is set up.
    Phil

  • How many users can I import at one time?

    Is there a limit on how many users I can import at one time?
    Also, how about other record types (Lead, Opportunity, Contacts ...etc.) Is there a limit on these also?
    Where in the documentation that I can find info for this please?
    I'm using CRMOD Release 18
    Thanks

    Account
    30,000
    Account Team
    50,000
    Appointment
    30,000
    Appointment Contact
    50,000
    Appointment User
    50,000
    Asset
    80,000
    Campaign
    50,000
    Contact (Admin)
    30,000
    Contact (Personal)
    2,000
    Contact Role
    50,000
    Contact Team
    50,000
    Lead
    30,000
    Notes
    50,000
    Opportunity
    30,000
    Opportunity Product
    80,000
    Opportunity Team
    50,000
    Portfolio
    30,000
    Product
    80,000
    Service Request
    30,000
    Solution
    50,000
    Task
    30,000
    Task Contact
    50,000
    Task User
    50,000
    User
    500
    Campaign Recipient
    50,000
    Custom Objects
    30,000
    Dealer
    80,000
    Vehicle
    80,000

  • Create a new oracle database from OCI or OCCI client

    Hi,
    How can we create a new oracle database from OCI or OCCI client?
    i am using the oracle 11gR2
    Thanks in Advance,
    Sreekanth Polaka

    Though I have not tried creating a database, try if its doable.
    You can use OCI to perform SYSDBA operations.
    So connect as OCI_SYSDBA and try executing the entire create database command.

  • How many users for remote connection can I  create, from support SAP

    Dear all
    I have a doubt with how many users can be created in my system ERP 6.0 for the remote connection, for the error product  messages on the marketplace SAP,without this counts as user license.
    I have not found any notes or documents from SAP to explain this.
    I appreciate your help.
    Best Regards,
    Erika

    Ok...I will reply to myself. I can use more than 10 simultaneous connection, using vnc.

  • How many users can you have on one account ?

    Hi,
    I have just created a ID with Adobe Reader for a group to use files stored in cloud. I would like to know how many users can access the account at one time via, mobile devices, ipad, desktops ?

    I don't know if there is a limit; you do mean the free https://cloud.acrobat.com/ ?
    I will move your post to the Acrobat.com forum, where someone hopefully can give you a definitive answer.

Maybe you are looking for

  • In apps purchase not downloaded

    Hi, i have purchased items using in apps purchase, it was not downloaded to my phone, but subsequently my credit card bank called me to verify the purchase. When I confirm, the items was not send in the apps, i tried to purchase again, it will return

  • HT1657 i have rented a movie that is in french and i wanted it in english what can i do to stop the rental.

    i have rented a movie and tured out it was in french i do not understand french and can not watch movie is there anything i can do.

  • Unexplained heavy data usage - Microsoft owns up

    For the many who are seeing odd and unexplained data traffic - Microsoft are now admitting a problem caused by an unnamed third party app. See - http://www.bbc.co.uk/news/technology-12152517 I guess it won't be long before someone discovers which app

  • Zen micro or ip

    I'm so annoyed with Zen Micros, Creative really need to get their act together! I've had 2 zens, one a photo version, and both have packed up. One lasted 3 months, the other lasted 2 weeks. I'm very tempted to replace it with a video iPod. The thing

  • Can't open Imovie application

    Im a new Mac user and really have had nothing but problems since I got this. Imovie doesn't open at all, I can't select instruments on special garage band, i can't surf to the Apple site on my mac even though i can surf to any other site. im using wi