Transaction across multiple databases in the same BDB environment

Hi,
I have multiple databases and one metadata database all in the same BDB environment. At runtime I want to create an additional database, update this database and update the metadata database in the same environment under one transaction. Are there any issues in having transactions that span multiple databases in the same environment?
Thanks,
Pooja

There is virtually no difference between using multiple databases and a single database in a transaction. Concurrency is determined by other factors such as whether multiple threads access the same records. See the Writing Transactional Applications for more information:
http://www.oracle.com/technology/documentation/berkeley-db/je/TransactionGettingStarted/index.html
--mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • Sharing one iTunes library across multiple accounts on the same Mac

    Hello, I've poked around at some of the posts dealing with sharing one iTunes music library across multiple accounts on the same Mac but it seems like this can only be done if the libary is moved to a shared folder. I realize this can be done but I was trying to share it the way it is described in a post on Apple support (See link below.). That post seemed to imply that you don't have to move the library from its original location (owned by account A, e.g.), rather just make a couple preference changes in the accounts, use fast user switching and voila. That doesn't seem to work. So my question is this: Is the only way to share one iTunes music library across multiple accounts on the same Mac to move it to a shared folder? I'm running 10.4.8 on an Intel iMac. Thanks in advance!
    http://docs.info.apple.com/article.html?artnum=93195

    After reading this and several other related threads, I am becoming thoroughly confused about all of this. I have a situation similar to the one that pokerpal described in the post dated January 7 at 8:06 pm, except that the music files on my system are located on an external hard drive. Everything else is pretty much the same though - I am the admin user (and the main iTunes user and maintainer) and my girlfriend is a standard user who has no music in her own iTunes library. She can see and listen to and make playlists from and sync her iPod with the music in this library from her account, and I can do the same thing, independent of her, from my account. And if I make a change to information within a song, she doesn't see it, and vice versa, and I understand that. What I don't understand is why when I add a song or an album to the music files by importing a CD or downloading something from the iTunes Music Store, she has no way of knowing that unless I tell her, and then she can add it to her library by using the "Add to Library" function. Is there no way of automatically updating her library files to add the new song(s)? We have almost 15,000 songs and videos in that library, and I don't even want to think about what might have to happen if the answer to my question is "no." Interestingly enough, if I put an update to a Word document in the same exact location (on the hard drive), we can update that and pass it back and forth all day - why is that such a difficult task for iTunes to accomplish?
    Sorry I went on so long, but this has been building up for some time, and none of the solutions I've read about here have really been of any help, so I'm a bit frustrated and, as I said at the beginning, confused.
    iMac G5, MacBook   Mac OS X (10.4.8)  

  • Can you have multiple databases on the same LUN in Exchange 2010?

    I'm sure you can but is it possible with exchange 2010 to have multiple databases on the same LUN.  We currently have 8 DB's all writing to their own DB drive and separate log drive so 16 drives in total.  I need to spin a new DB up this week and
    wanted to double check this is possible.  I've looked online and cant find anything that I've seen before that says this is possible.
    Thanks.

    Hi,
    Yes, multiple databases could be placed on the same LUN, but it's not recommended.
    If you have 2 drives fail at the same time (it happens more than you think), then losing 100% of your DBs is a lot worse than losing one of them or some of them depending on where the failures are.
    Here is a similar thread for your reference:
    Multiple databases on the same LUN in Exchange 2010
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • How do i create multiple databases on the same unix box?

    Hello experts.
    Please send me some guidelines on how to create multiple databases on the same unix box and how to configure their startups including listeners.
    Please also, list me the possible precautions to takes especially if the existing database is a production one!
    thanks very much for you reply
    Best Regards
    Yogeeraj

    Hello,
    I tried the following:
    svrmgrl> startup nomount pfile=I:\d01\oracle\admin\cmttest\pfile\init.ora
    then
    svrmgrl> CREATE DATABASE cmttest
    LOGFILE 'i:\d01\oracle\oradata\cmttest\redo01.log' SIZE
    1024K,'i:\d01\oracle\oradata\cmttest\redo02.log' SIZE 1024K
    MAXLOGFILES 32
    MAXLOGMEMBERS 3
    MAXLOGHISTORY 1
    DATAFILE 'i:\d01\oracle\oradata\cmttest\system01.dbf' SIZE 50M REUSE
    MAXDATAFILES 254
    MAXINSTANCES 1
    CHARACTER SET WE8ISO8859P1
    NATIONAL CHARACTER SET WE8ISO8859P1;
    Then when i try to run both databases:
    svrmgrl> set instance cmttest
    ORA-12500: TNS: Listener failed to start a dedicated process
    ===================
    I am doing something wrong.
    please help
    Regards
    Yogeeraj

  • How do I create multiple databases on the same ORACLE_HOME

    Hi,
    I would like to know how can I create 2 databases on the same ORACLE_HOME? Also is it possible to start both databases at the same time?
    When I installed oracle,a directory named database has been created under ORACLE_HOME, which contains all initorc1.ora ,etc ?
    At this point how do I create another database named orc2 on the same machine?
    Thanks in advance.
    winnie philip.

    Hi,
    Set the oracle_sid=db1
    Now rename your init.ora to init<oracle_sid>.ora in $oracle_home/dbs directory.
    Change the db_name parameter to appropriate name in the init<oracle_sid>.ora file.
    Now create the database.
    In the same fashion create another database with the new database name and different oracle_sid
    Now in order to switch between the databases.
    Change the env variable Oracle_Sid to the value of the database which you wanted to start.
    Regards
    Anand

  • Multiple databases with the same name ... only one named DB can be found

    Hi All
    We are currently in the progress of migrating over to APEX 3.2 from HTMLDB 2.1.
    We have 3 instances on each version - DEV, UAT, LIV.
    The HTMLDB servers and databases are set up with no problems in grid control. However, the new apex instances are not being found (different servers) - I think this has something to do with the names (global database name) being the same as an existing database that is already configured on GC.
    Is there a way around this? as we plan to keep both versions of APEX/HTMLDB running in parallel for at least the next few months.
    Thanks in advance.
    Jake.

    can you manually discover the new instances on the new server?
    Then just make sure the name that appears in Grid Control is different.
    e.g. prod.world is on server A and B. When you discover in Grid control, you can make it prod_B and you will see the latter without any problem.

  • JPA: how to organize multiple databases having the same schema definition?

    Hi there,
    I'm new to Java EE but I could finish some test projects on GlassFish 3 / Java EE 6 platform.
    Now it's time to build the actual system and I need some help in that.
    So, I can't really tell you the exact purpose of this system but let's look at the following example which is very close to what I need.
    Say there is a database schema definition (DDL) for Oracle 11g and this schema is storing the inventory of a shop. So tables like product, category, price etc
    Say there are 50 shops, and I'm getting a new database for each shop every month holding their inventory.
    So every month I'm receiving a SQL file with INSERTs (DML) for every shop for the DDL I mentioned above.
    I'm getting 50 SQL files for the 50 shops every month, so in a year you're talking about 600 SQL files to import.
    If it was php/MySQL I could import them into a separate database each, call it shop1_May11, shop2_May11 etc reflecting the shop name and the month in the database name.
    This is my question how you guys think I should achieve this in Jave EE / Oracle.
    As the DDL is the same I thought to create an Entity for each table and use the Java Persistance API to create the databases and then I'd import the month/shop specific SQL files.
    But this means I'm gonna create 50 new schemas in Oracle every month?
    Or what's the best way to achieve this?
    Thanks in advance
    Edited by: 833519 on May 18, 2011 5:28 AM
    Edited by: 833519 on May 18, 2011 5:29 AM
    Edited by: 833519 on May 18, 2011 5:31 AM

    JPA helps a lot in persisting and retrieving data that has relationships without having to worry about the relationships at a sQL level.
    So you get a java programmer that builds relationships using Java classes (the entities) and a persistence provider worries about the sql required to materialize those relationships.
    You seem to be using SQL inserts for persisting the data and you want to generate the reports from SQL as well.
    You can use it but you won't be gaining much of its advantages for this project.
    Consider reporting applications like the jasperserver for the reports.
    Also, I have seen people get away with using one database for this type of thing and just adding a clientid (and optionally branchid) to each table.

  • Oracle TDE - Can multiple databases use the same Oracle wallet?

    Oracle Advanced Security Transparent Data Encryption
    I will have 2 or more databases running under the same Oracle 11.2 home. According to Oracle's documentation, it is preferred to reference the wallet via the sqlnet.ora file. That's fine. My question is if I want to use encryption in each of those databases, then I have no choice but to use the shared wallet then, correct.
    I need to confirm that I have not missed something.
    From Oracle's documentation:
    Specifying a Wallet Location for Transparent Data Encryption
    If you wish to use a wallet specifically for TDE, then you must specify a wallet location in the sqlnet.ora file by using the ENCRYPTION_WALLET_LOCATION parameter.
    Oracle recommends that you use the ENCRYPTION_WALLET_LOCATION parameter to specify a wallet location for TDE.
    http://docs.oracle.com/cd/E18283_01/network.112/e10746/asoappa.htm#i634447
    Oracle Advanced Security Transparent Data Encryption
    ENCRYPTION_WALLET_LOCATION = (SOURCE =
    (METHOD = FILE)
    (METHOD_DATA =
    (DIRECTORY =
    /etc/ORACLE/WALLETS/oracle)))
    thanks!

    Do not do this, follow this http://www.youtube.com/watch?v=Z9odSZxdoGU instead!
    Best, Peter

  • Multiple database in the same ADF application

    In my application I have to access a legacy database, in addition to the main database. How do I handle multiple database connections. Do I need to manage the JDBC connection to the legacy database myself.
    Pranab

    Use an AM for each dataconnection and then share the AMs so then can see each others datamodels.
    Or you can use jdbc in your code to access the databases.
    If would be nice if the adf had a way to connect to any data source set up in the configuration and app server on the fly.

  • Share and Synch Calendar across multiple accounts on the same computer?

    The subject says it all.
    ICAL on same Mac but all 4 users want to share and update the calendar (s) (Multiple calendars) How can this be done.
    Basically I want to replace the beaten up ole torn paper calendar in teh kitchen that we all write on and share? If I can do this I can publish it and we can all access it regardless of where we are.
    thanks in advance for the help.
    rick

    Rick
    I'm no expert in this department, but I believe that your question was the reason Apple started the 'Group' calendar. Check this page out:
    http://www.mac.com/WebObjects/Groups.woa/wa/afterLogin?cty=US&aff=consumer&lang= en
    Perhaps your answer lies within.
    * Guy

  • Can I use home share across multiple accounts on the same computer?

    we all use one computer and have one music library in a public folder. Can we use home share so that when one of us makes a purchase (and adds it to our library) others can easily see it and have the option to add it to their library too (without duplicating the file)?

    Based on my HAZY memory of a previous question like this, what you would need to do is...
    Log out of one Cloud account (MAY need to restart your computer, not sure of this... hazy memory) then log in to your OTHER Cloud account

  • Installing Office across multiple users on the same machine

    I have two user accounts on a MacBook Pro and need to install Office 2011 on both user accounts.
    The software is suggesting I download it twice, once for each user, which seems a waste of storage space. Is there a way to give both users access to the software?

    You don't need to install it twice

  • Using ATMI and tuxedo to institue distributed transactions across multiple DBs

    I am creating the framework for a given application that needs to ensure that data
    integrity is maintained spanning multiple databases not necessarily within an
    instance of weblogic. In other words, I need to basically have 2 phase commit
    "internet transactions" between a given coordinator and n participants without
    having any real knowlegde of their internal system.
    Originally I was thinking of using Weblogic but it appears that I may need to
    have all my particular data stores registered with my weblogic instance. This
    cannot be the case as I will not have access to that information for the other
    participating sytems.
    I next thought I would write my own TP...ouch. Everytime I get through another
    iteration I kept hitting the same issue of falling into an infinite loop trying
    to ensure that my coordinator and the set of participants were each able to perform
    the directed action.
    My next attempt has led me to the world of ATMI. Would ATMI be able to help me
    here. Granted I am using JAVA so I am assuming that I would have to use CORBA
    to make the calls but will ATMI enable me to truly manage and create distributed
    transactions across multiple databases. Please, any advice at all would be greatly
    appreciated.
    Thanks
    Chris

    Andy
    I will not have multiple instances of weblogic as I cannot enfore that
    the other participants involved in the transaction have weblogic as
    their application server. That being said, I may not have the choice
    but to use WTC.
    Does this make more sense?
    Andy Piper <[email protected]> wrote in message news:<[email protected]>...
    "Chris" <[email protected]> writes:
    I am creating the framework for a given application that needs to ensure that data
    integrity is maintained spanning multiple databases not necessarily within an
    instance of weblogic. In other words, I need to basically have 2 phase commit
    "internet transactions" between a given coordinator and n participants without
    having any real knowlegde of their internal system.
    Originally I was thinking of using Weblogic but it appears that I may need to
    have all my particular data stores registered with my weblogic instance. This
    cannot be the case as I will not have access to that information for the other
    participating sytems.I don't really understand this. From 6.0 onwards you can do 2PC
    between weblogic instances, so as long as the things you are calling
    are transaction (EJBs for instance) it should all work out fine.
    I next thought I would write my own TP...ouch. Everytime I get through another
    iteration I kept hitting the same issue of falling into an infinite loop trying
    to ensure that my coordinator and the set of participants were each able to perform
    the directed action.
    My next attempt has led me to the world of ATMI. Would ATMI be able to help me
    here. Granted I am using JAVA so I am assuming that I would have to use CORBA
    to make the calls but will ATMI enable me to truly manage and create distributed
    transactions across multiple databases. Please, any advice at all would be greatly
    appreciated.I don't see that ATMI would give you anything different. Transaction
    management Tux is fairly similar to WebLogic (it was written by the
    same people). If you are trying to do interposed transactions
    (i.e. multiple co-ordinators) then WTC would give you this but it is
    only a beta feature in WLS 6.1. Using Tux domain gateways would also
    give you interposed behaviour but would require you write your servers
    in C or C++ ....
    andy

  • Using ATMI and tuxedo for distrubuted transactions across multiple DBs

              I am creating the framework for a given application that needs to ensure that data
              integrity is maintained spanning multiple databases not necessarily within an
              instance of weblogic. In other words, I need to basically have 2 phase commit
              "internet transactions" between a given coordinator and n participants without
              having any real knowlegde of their internal system.
              Originally I was thinking of using Weblogic but it appears that I may need to
              have all my particular data stores registered with my weblogic instance. This
              cannot be the case as I will not have access to that information for the other
              participating sytems.
              I next thought I would write my own TP...ouch. Everytime I get through another
              iteration I kept hitting the same issue of falling into an infinite loop trying
              to ensure that my coordinator and the set of participants were each able to perform
              the directed action.
              My next attempt has led me to the world of ATMI. Would ATMI be able to help me
              here. Granted I am using JAVA so I am assuming that I would have to use CORBA
              to make the calls but will ATMI enable me to truly manage and create distributed
              transactions across multiple databases. Please, any advice at all would be greatly
              appreciated.
              Thanks
              Chris
              

              I am creating the framework for a given application that needs to ensure that data
              integrity is maintained spanning multiple databases not necessarily within an
              instance of weblogic. In other words, I need to basically have 2 phase commit
              "internet transactions" between a given coordinator and n participants without
              having any real knowlegde of their internal system.
              Originally I was thinking of using Weblogic but it appears that I may need to
              have all my particular data stores registered with my weblogic instance. This
              cannot be the case as I will not have access to that information for the other
              participating sytems.
              I next thought I would write my own TP...ouch. Everytime I get through another
              iteration I kept hitting the same issue of falling into an infinite loop trying
              to ensure that my coordinator and the set of participants were each able to perform
              the directed action.
              My next attempt has led me to the world of ATMI. Would ATMI be able to help me
              here. Granted I am using JAVA so I am assuming that I would have to use CORBA
              to make the calls but will ATMI enable me to truly manage and create distributed
              transactions across multiple databases. Please, any advice at all would be greatly
              appreciated.
              Thanks
              Chris
              

  • Perfromance impact if mulitple database share the same disk group.

    Hi All,
    I need help in understanding what would be the performance impact if multiple databases share the same ASM disk group.
    Is there any documentation that explains the impact on performance if there is any in doing so.
    Your help is very much appreciated.
    Thanks,
    Ravi.

    I need help in understanding what would be the performance impact if multiple databases share the same ASM disk group.application performance could be impacted; or not depending upon total disk I/O activity

Maybe you are looking for

  • Why script show error in Frame 1 ?

    hi , i use a dynamic scrollbar i put my scrollbar in movieclip : mc and i have 2 frame that in every of them i have one scrollbar ... i use this script For enabling scrollbar in frame 2  : _scrollbar = new Scrollbar(); _scrollbar.init(mc.content, mc.

  • I have a book that I can view on my iPad and iPhone but on my Mac I get an error.

    I purchased the book on iBooks Mac and then downloaded it on my iPad and iPhone and have been reading the book (Words of Radiance-Brandon Sanderson) just fine.  But when I try to download and open it on iBooks on my Macbook Pro it downloads and then

  • Finding tables used by transaction CM29

    Hi guys, I have to create a report with information from transaction CM29 (Planning table SAPPI_G001). The report must list all orders scheduled for a resource (orders in the 'Resources' area) in a period. My problem is to find the tables where that

  • Filters in Idoc distribution Model

    Hi All, We are using message type: HRMD_A to distribute HR master data changes to middleware system. Now my requirement is that i should send changes pertaining to US employees alone. Do i need to create filter group for  IT0001 in BD64 where i need

  • IPhoto '11 does not load pictures from photostream

    Hi guys, i've got a problem on my MacBook Air 13" 2011 which I can't solve by myself. I also did a lot google action but it won't let me figure out, why my photostream is not loading in iPhoto '11 I deleted the picture-libary, I deleted every data wh