Opening multiple databases in a single file

     Hello everybody, I need create 1000 small databases(tables) in a single physical file, how to solve? ( I have read chap 3 Access Method Operations in BDB programmer reference,  so I know it’s need create a shared database environment, but I don’t know which ENV FLAG or API I need .)
     thank you very much.

I would suggest taking a look at the example programs in the /examples directory in the install.   ex_env.c covers basics on creating an environment and creating a database in that environment.   This program could be easily modified to create 1000 databases.
thanks
mike

Similar Messages

  • How to add multiple databases for a single frontend

    We have a project based on distributed databases and we have to workout on .Net framework.I want to know some information of connecting multiple databases for a single frontend and how can we access them.
    If so we have connected 2 databases for a single frontend in future if I want add one more database to it how it will be possible to do it without disturbing the current connectivity.
    Please help me in resolving this problem.
    Thanks......

    hi,
    what do you mean by connecting 2 databases? can you explain further?
    using entityframework you can connect to different databases
    public class CustomerContext : DbContext
    public ReportContext()
    : base("DefaultConnection")
    public DbSet<Customers> Customers { get; set; }
    and your connectionstring (config file)
    <connectionStrings>
    <add name="DefaultConnection" connectionString="Data Source=(LocalDB)\v11.0;AttachDbFilename=D:\\Database\Project.mdf;Integrated Security=True" providerName="System.Data.SqlClient" />
    </connectionStrings>
    you can add more connection strings on it.
    https://msdn.microsoft.com/en-us/library/vstudio/cc716756(v=vs.100).aspx
    https://msdn.microsoft.com/en-us/library/ms254978(v=vs.110).aspx
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Multiple databases in a single query

    I need to query multiple databases in a single query.
    e.g.
    Database d1 contains table t1 with column id
    Database d2 contains table t2 with column id
    I need a query like
    SELECT * FROM t1, t2 WHERE t1.id = t2.id;
    is this possible in jdbc? if yes can anyone help with some sample code?
    thanks,
    Ashish Saraf

    It is not possible using the JDBC API to query tables in two or more databases using a single query. The reason is that a JDBC Connection is made to a single data source.
    However, some databases support the idea of federations or linked tables. What you do is inside the database manager link or federate a table that is present in another DBMS. Then, pose a single JDBC query to the one DBMS which will have its own table and links to the external tables.
    Another approach is to use a special JDBC driver with a built-in integration engine that will perform a query across multiple databases. In effect, the system poses separate queries to the different databases and integrates and joins the data together for you automatically on the client-side. That is much easier than doing it yourself in code, but that is also possible for simple queries.
    As part of my research program, we have released a shareware version of the UnityJDBC driver that can query multiple databases using a single SQL query. For more information, see:
    http://www.unityjdbc.com
    http://www.cs.uiowa.edu/~rlawrenc/research/projects.html
    Sincerely,
    Dr. Ramon Lawrence
    Assistant Professor
    Department of Computer Science
    University of Iowa
    [email protected]

  • Multiple labels on a single file?

    Is there a way to place multiple labels on a single file? I'd like to be able to sort files based on several partially overlapping criteria. Thanks.

    Files can only have one name.

  • How to put multiple classes in a single file?

    Hello,
    I'd like to put mutliple classes in a single file. (This
    would be useful for grouping children that are minor extensions of
    parent classes or helper classes that are used by one class only).
    When I tried to put two classes in one file, I got this error
    message:
    5006: An ActionScript file can not have more than one
    externally visible definition: Notation.editField,
    Notation.labelField1
    This is the structure I used. Thanks in advance for your
    help.

    You can declare multiple classes in a single file, but only
    one can be
    within the package declaration. All class declarations
    outside the package
    are invisible to code outside the file.
    package sample
    public class SampleClass
    class SampleClassHelper
    class SampleClassHelper2

  • How can i scan multiple pages in a single file in pdf.

    How can i scan multiple pages in a single file in pdf using 1536 dnf.

    Hi @veerendrajain ,
    I see that you would like to save multiple PDF documents into one file. I would like to help you out today.
    In the HP Scan Software, select Advanced scan settings, click on the File tab and uncheck Create a separate file for each scanned image.
    Hope this helps.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Multiple accounting doc in single file - PROXY

    Hi,
    I am reciving multiple accounting doc in single file..
    MT_INPUT
    acc_doc1
    acc_doc2
    I need to send it seperately to PROXY.
    MT_INPUT
    acc_doc1
    MT_INPUT
    acc_doc2
    proxy needs to be called multiple times.....
    how to do this?
    Regards,
    Akshay.

    Hi Akshay,
    Create a 1..n mapping and 1..n interface mapping.
    You will then need to create an enhanced interface determination. (There is a radio button to select 'Enhanced').  The rest of you config will be the same.
    This will split your single message into several messages, which will be processed individually by the receiver proxy.
    Regards,
    Yaghya

  • Multiple FileChannels on a Single File

    I wonder if anyone could help on this please: is it possible to have multiple filechannels on single file, basically I have a RandomAccessFile where I got my FileChannel from , any attempt for a getChannel on this RandomAccessFile object always return a unique FileChannel same as the previous one. is there anyway to get deferent FileChannels ? or may be any other way to get around this?

    Thanks Alan, for the replay, but actually I do not want to open the file many times, if I would to use what you have suggested: " FileChannel fc1 = new RandomAccessFile(f, "rw").getChannel();
    FileChannel fc2 = new RandomAccessFile(f, "rw").getChannel();"
    then this will open the file "f" many times.
    my question is : I would like to open the file once by " RandomAccessFile raf = new RandomAcessFile(f, "rw")" and then how could I get multiple channels on this raf ?
    any time I call raf.getChannel() it return a unique FileChannel object, say:
    FileChannel fic1 = raf.getChannel(); FileChannel fic2 = raf.getChannel();
    fic1 and fic2 are eventually the same, so any attempt to manipulate fic1 would affect fic2; say the cursor position and so on.

  • Multiple iDocs in a single file

    Hello,
    I'm working on some integration to send a purchase order change file into SAP from BizTalk.  Everything works when we send every change as its own iDoc, or when we send all changes for a single PO in a single file, but when we try and include multiple iDocs in a single send, we get an error that it has to many elements.  The definition below is of the idocData element which indicates it can send more than one:
    <xs:elementxmlns:q2="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/PORDCH03//711"minOccurs="1" maxOccurs="2147483647" name="idocData" nillable="true"type="q2:PORDCH03">
    A sample of the file:
    <?xml version="1.0"?>
    <ns0:Send xmlns:ns3="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:ns2="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/Common/" xmlns:ns1="http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/PORDCH03//711" xmlns:ns0="http://Microsoft.LobServices.Sap/2007/03/Idoc/3/PORDCH03//711/Send">
         <ns0:idocData>
            <ns1:EDI_DC40>
            </ns1:EDI_DC40>
            <ns1:E2PORDCH000GRP>
            ......        </ns1:E2PORDCH000GRP>
        </ns0:idocData>
        <ns0:idocData>
            <ns1:EDI_DC40>
            </ns1:EDI_DC40>
            <ns1:E2PORDCH000GRP>
         </ns1:E2PORDCH000GRP>
        </ns0:idocData>
    </ns0:Send>

    Hey Josh,
    Hope your issue is fixed by now.
    If not please check the Inbound Process code of the Order which is triggering Idoc in the SAP System.
    You have to modify that as per se your need.
    Thanks.

  • Sending multiple IDocs (all in single file) to FTP via XI

    Hi All,
    We have a requirement as below where we are looking for various feasible solutions.
    The requirement is to collect multiple IDocs in ERP (2000-5000 in number) per day (either Flat File or XML) and needs to be sent as a single File (which has all these IDocs) to FTP Server via XI.
    BPM is not allowed to use and we are working on PI 7.0, so IDoc packaging is also not applicable. There is no mapping required, we need to just route them to FTP from ERP System.
    Looking forward for various solutions.
    Regards,
    N. Jayanth Kumar.

    Hi,
         Using the XML file port at R/3 to collect the Idocs would be a feasible solution. Also, as Sunil as already pointed out, you can configure this as a pass through interface, which will improve your overall processing time.
    Another solution can be to pass the Idocs to PI and then use the append mode in the receiver file adapter to collect the days idoc into a single file.
    To append only idocs for a particular day, try using dynamic filename, where file would have the date in it. This way, only Idocs for a particular day would be appended.
    Regards

  • Multiples Databases in a single Report

    Hi all experts...
    How I can create a parameter to chosse multiples databases... In a single report!
    regards

    Wagner,
    If you have CR Server installed on your network, you can use the Business View Manager to create a Dynamic Data Connection.
    As soon as you add the Business View to your report as the data source, a choose database parameter will be added to your report automatically.
    Also, if your BIG idea works out, please post it. We all love new ideas. Especially when they work.
    Jason

  • Multiple databases in one single RAC cluster

    Hi, I would like to know if one can have multiple databases running on a single RAC cluster, we have several databases in our shop and would like to consolidate all of them into a single 3-4 node RAC cluster running databases with 10.2 and 11.1 versions.
    I am newbie to RAC and would like to get some clarification if anyone has done this, google search comes up with few hits on this topic, so obviously this is not doable.
    In our case we have one database supporting critical applications and few other not so critical but are used very extensively between 9-5, so what is the use of RAC if I cannot consolidate all my databases into one cluster, or if I need a separate cluster for each of these critical databases?
    I have been all the Oracle docs that keep repeating one database multiple instances and one instance-one machine-one node, they don't even advise running multiple instances on a single node?.
    I appreciate any insight.
    Thanks.

    ora-sql-dba wrote:
    Can you give more details on how you would setup multiple databases running different versions on a single RAC cluster, I am yet to find any documentation that supports or even elaborates on this topic.You can configure a cluster with 12 nodes. Then, using dbca, configure a dev instance for nodes 1 and 2, a prod1 instance for nodes 3 to 6 and a prod2 instance for nodes 7 to 12.
    You also can configure each of these instances for all 12 nodes. And use it on all 12 nodes.
    Or, after configuring it for all 12 nodes, you can start the dev instance on nodes 1 and 2, prod1 on 3 - 6 and prod2 on the remaining nodes. If dev needs more power, you can for example shutdown prod2 on node 12 and start another dev instance there.
    My issue is with the 2nd option - running more than one instance on the same node or server. Why? Each instance has a basic resource footprint ito shared memory needed, system processes required (like db writer, log writer, sys monitor) etc. It does not make sense to pay for that same footprint more than once on a server. Each time you do, you need to reduce the amount of resources that can be used by each instance.
    So instead of using (for example) 60% of that server's memory as the SGA for a single instance, if you use 2 instances on that server you now have to reduce the SGA of each to 30% of system memory. Effectively crippling those instances by 50% - they will now have smaller buffer caches, require more physical I/O and be more limited in what they can do.
    So unless you have very sound technical reasons for running more than one instance on a server (RAC or non-RAC), do not.

  • Can we join Multiple Databases tables in PRD File ?

    Hi ,
    I am working on POC project and trying to Join Multiple Databases to create one rpd file . Lets say I have complete SH schema from Oracle and I want couple of tables (Time and Products) tables from Sybase .
    I want bring sybase TIME and Product tables into Oracle SH Schema and create joins in physical layer. When I try to do it, it is throughing an error .. Am I missing some thing here ?
    Is it possible?
    Thanks
    Shivaji

    You have not mentioned what is the error!!!
    we can create join b/w the tables of different databases
    You need to select the table from one database and aswell as other table in other database and
    right click > physical join > selected tables only...
    This is the way of creating physical joins... or else you select both the databases and select physical joins...
    It's better that you mention what is the error you are getting..??
    Thanks & Regards
    Kishore Guggilla

  • M276 Unable to scan multiple pages into a single file

    Hi, just bought the Laserjet Pro 200 M276nw, and when I scan multiple-pages documents, it generates one PDF document for each page scanned, but I want this multiple pages into a single PDF file. Anyone can help? Thanks so much

    Yes it's possible.  Use the Image Capture app.  It has an option to scan PDF documents into a single file.

  • How to access multiple database present in single instance

    Hi Team,
    In oracle 11.2, can there be multiple databases in an instance???  In one of our environment, I could see multiple databases in an instance. Could you please help me in giving the data dictionary or query to access those databases?
    Actually, querying v$database, I could see only one database which is same as instance name. But in inventory, there are multiple database in an instance?
    I am still not exactly clear about this. Can someone help me with this?
    Thanks!
    Vidhya

    In Oracle one instance manages one (1) database. A database consists of multiple *schemas*.
    Other vendors erroneously call a schema 'database'.
    So, no, you didn't see multiple databases.
    There is also one datadictionary, consisting of a set of views.
    All views beginning with dba_  list the entire database, all schemas.
    All views beginning with all_ list the objects you have access to.
    All views beginning with user_ list your own objects.
    The view DICT show you the contents of the datadictionary.
    Oracle also has online documentation at http://docs.oracle.com
    From your question it is clear you should read the document called the 'Oracle Concepts Manual'.
    You can find all documentation for 11gR2 here Oracle Database Online Documentation 11g Release 2 (11.2)
    Too many people here don't make any effort to read it. This is probably the reason why you got no response.
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Nokia N8 - Gallery not getting updated

    Hiii I am facing an gallery issue with my Nokia N8 phone THe photos/videos in my phone is not reflecting on gallery. I tried following suggestion on another posts but no luck, only 1 photo and 4 videos in my gallery :-( - Deleted .db file from privat

  • CANT HOOK UP TO PROJECTOR

    I am having trouble hooking up to my projector. I have never had a problem before. I have the vga adapter but for some reason I am still unable to connect. Ive tried rebooting, updating, waiting till the projector was on to connect and nothing has wo

  • HOW TO CREAT VARIANT IN QUERY

    Hi, its very simple question but i want the procdure for it. how to creat variant in query &maintain?don't give URL's i try it already plzzz.any body have the steps regarding this topic.. plzzzzzzzz urgent ... thanks, goodyear..

  • PSA Source System Update Utility

    Hi,   We recently upgraded our Sand box system to EPH1 SPS5. The PSA Deletion Process type now includes a 'Source System' field. Since our system was refreshed from Production prior to upgrade, the Source System Field in the PSA Deletion Process Type

  • Where is the English Download Center?

    I need to install lightroom 5 on a new computer.  Everytime I go to a CC dowload center, it's either all in chinese or it wants me to buy the product...I already have.  Help!