Synchronize 2 databases on different networks

I have 2 seperate databases that are on different networks and i want to synch one way from database A to database B, but not necessarly from B to A. So I was looking into creating a .cvs file by calling the spool function for A and then take those files and use SQL Loader on B. First, is this the best way to synch these 2 databases?
And if so, how do the foreign keys stay synched? I have Sequences in place and noticed that when I add a row to a table with a sequence it doesn't matter what the value is in my .cvs file so after I add that row to database B and then add another row that references the first row. How can I guarantee that the 2nd row will have the correct value?
Example....
User Table
UserId, Name, Number
"100","Jon","333-222-3333"
Transaction Table
CustomerId,Transaction,Amount
"100","deposit","22.50"
When I add the user to my User's table in database B the sequence actually made my UserId a value of 105 because B had added more users that A. Then when I add the row in my Transaction table I want to make sure the CustomerId is now 105 and not 100.
Thanks!

1. Version numbers (SELECT * FROM v$version not some marketing label)
When typing in the select stmt above this is the info I received.
Oracle Database 10G Enterprise Edition release 10.2.0.1.0 - 64 bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.1.0 Production
TNS for 64-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
2. What is A used for?
Users will input data findings on an unclassified network
3. What is B used for?
Users will add classified documents and other users will view reports and do searches.
4. How often do they need to be synchronized?
Maybe 1 time a month.
5. How much data is involved?
A lot. There are approximatly 20 tables that will be updated and 3 of those tables will have over 200 new rows that will be added and they consist of CLOBs
6. Is it possible to extract information without getting dups? yes
7. If it is possible for there to be dups explain how and how you would resolve them? For example by primary key or some other criteria
Primary Key.
8. Does this need to be automated?
As much as possible, but does not have to be
9. What data types are involved?
Numbers, CLOBS, BLOBS, Varchar2, Dates
10. What is the time period during which this must be accomplished (in minutes or hours)
Preferably in less than an hour.
Thanks for your help.

Similar Messages

  • Warning on "synchronize with database" in SSMA

    Hi,
    I am migration database from oracle to SQL using ssma.
    I get below warning on doing "synchronize with database".
    "The database owner SID recorded in master database differs from the database owner SID
    recorded in database XXXX (migrated SQL DB). This may lead to error during synchronization. You should correct this situation by 
    resetting the owner of the database XXXX (migrated SQL DB)."
    Please suggest.
    Thanks.

    Hello,
    You can use the sp_changedbowner system stored procedure to make the owner of the database the same as the master database.
    https://msdn.microsoft.com/en-us/library/ms178630.aspx
    Another resource related to this issue.
    http://kevine323.blogspot.com/2011/03/database-owner-sid-recorded-in-master.html
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Performance Issue : Application and oracle database in different sub-net

    Hi,
    We have an 24/7 application that uses oracle 11g R2 as the back end database. The application sits on a separate box and the oracle database sits on a separate box.
    Unless we keep both the machines in the same sub-net, the throughput of the application becomes very slow and kind of un-usable in performance setups.
    In fully loaded conditions, the application will be inserting around 12K records per minute into the database. In such scenario, restarting the application takes longer time (more than 2 hours) when the oracle server is on a different network as compared to the application. In real world, the oracle will be in a separate dedicated network and the DBAs resist to have an application in the same sub-net.
    Is there a way we can keep the application and the oracle database server in a different network (but present in same location) and achieve same throughput/performance when both servers are on same subnet.
    Thanks,
    Krishna

    871609 wrote:
    Hi,
    We have an 24/7 application that uses oracle 11g R2 as the back end database. The application sits on a separate box and the oracle database sits on a separate box.
    Unless we keep both the machines in the same sub-net, the throughput of the application becomes very slow and kind of un-usable in performance setups.
    In fully loaded conditions, the application will be inserting around 12K records per minute into the database. In such scenario, restarting the application takes longer time (more than 2 hours) when the oracle server is on a different network as compared to the application. In real world, the oracle will be in a separate dedicated network and the DBAs resist to have an application in the same sub-net.
    Is there a way we can keep the application and the oracle database server in a different network (but present in same location) and achieve same throughput/performance when both servers are on same subnet.
    Thanks,
    KrishnaHave the DBAs explained why they resist having the apps and db servers in the same subnet? Every place I've ever worked configured it exactly that way ... db and apps servers on different machines in the same subnet.

  • Migrate 11gR1 11.1.0.7.0 database to 11.2.0.X database on separate network

    Currently running 11.1.0.7.0 p46 Oracle single database on 2003 R2 32 bit. Need to migrate this over to different Network node running Windows Server 2008 R2 x64 64-bit OS to eventually get to new Oracle 11.2.0.X.0 database. Where do I get a full 11.1.0.7.0 Database install set to upgrade to 64-bit on new OS, to then convert to 11.2.0.X.0 version?

    I am guessing the options I used back in December 2011 and January 2012 are no longer available, nolonger supported. No we do not have extended suppport for 11gR1.
    Current database 11.1.0.7.0 is 15.9 GB. Currently available space on oracle directory is 28.6 GB. Flash_recovery_area is at 114 GB so there is room to for an upgrade on this OS by cleaning up the flass recovery area, it will be slow. By the way the OS is Windows Server 2003 x64 AMD 64 x2 Standard Edition, not the 32-bit.
    I can do an export (datapump or export?) and bring over just the schemas from the 11.1.0.7.0 database, to get it into a new 11.2.0.X.0 database? Is this your recommended approach to getting over to another non-conectable network (Widows Server 2008 R2 that will be running? Can we go to 11.2.0.X.0 the lastest release this way? Is there a document with this option?
    Most of Oracle's documentation now shows upgrading to 11.2.0.X.0 on the same box. We do have to get off thie node and its network though, and so not have tha luxurary of closning or using RMAN 'duplicate database' options.
    Will using a 11.1.0.7.0 backup now be out of the question?
    Thanks,
    Jerry C.

  • Pacman error: failed to synchronize any databases

    I just installed Arch on my machine and tried running pacman -Syu only to have it tell me that it failed to update any repos, retrieve any files, or synchronize any databases. I have an internet connection and I've tried several different mirrors. What's going on?

    :: Synchronizing package databases...
    error: failed retrieving file 'core.db' from archlinux.suspec.org : No address record
    error: failed retrieving file 'core.db; from archlinux.suspec.org : No address record
    error: failed to update core (No address record)
    error: failed retrieving file 'extra.db' from archlinux.suspec.org : No address record
    error: failed retrieving file 'extra.db' from archlinux.suspec.org : No address record
    error: failed to update extra (No address record)
    error: failed retrieving file 'community.db' from archlinux.suspec.org : No address record
    error: failed retrieving file 'community.db' from archlinux.suspec.org : No address record
    error: failed to update community (No address record)
    error: failed retrieving file 'multilib.db' from archlinux.suspec.org : No address record
    error: failed retrieving file 'multilib.db' from archlinux.suspec.org : No address record
    error: failed to update multilib (No address record)
    error: failed to synchronize any databases

  • How to use two different network cards on RT?

    Hi everyone... I'm currently working on a project where I have to deal with the issue mentioned in the thread's topic: I have a PC with RT LabVIEW that has to be able to establish network connections using two different network cards. One will be used to connect via TCP/IP with a host computer that will show the data transmitted through shared variables; the other will communicate with another PC through Modbus protocol. The key is that each communication is done through a separate network card.
    So far I haven't been able to figure out how to configure both things to happen. Does anyone know how to do this? Any tips will help.
    For the RT communication I'm using a standard RT project, with the RT PC being given one of the IPs, and for the Modbus part, I created an I/O server with a master and a slave. Separately everything works fine, but when I get them together it simply won't work.
    Thanks for your help!
    Solved!
    Go to Solution.

    Sorry it took me so long to answer, I've been busy lately....I've found a solution to the problem I mentioned, and just in case anyone has similar problems in the future, I'll shortly describe what happened.
    As Caseyw suggested, it was necessary to enable both network cards through the Measurement and Automation Explorer. The cause of the connections malfunction was actually that I wasn't using the "right" protocol for the Modbus communication, which ran on the secondary adapter. The solution was to use the URL protocol with the correct path on the field, addressing the right IP address. To avoid making this post a mixture of topics, I won't elaborate futher, but I got the gist of it, so if anyone is having similar problems whether it is working with several network cards or with Modbus communication protocols, feel free to contact me, I'll be glad to help.
    Thanks

  • When i put my own contacts into my iphone 3gs and deleted existing ones, the same happened on my mums iphone 4? my iphone was hers previously, but has been unlocked by o2, we have different networks and were 12 miles apart when i did it!

    My mum upgraded last week from iphone 3gs to iphone 4, I got the iphone 3gs unlocked as of this morning and proceeded to remove her contacts and put my own in.
    Several hours later she came home from work to find her contacts on the iphone 4 had been replaced with the same list i had put on mine!
    We have different networks, different itunes accounts etc, I can't understand why or how this has happened or most importantly how to fix it as she has lost all her numbers and is understandably very very cross....

    contacts are not visible in back up, but if she restores from that back up - contacts will come back to phone. Then all her apps and music have to be synced back again. She will also have all other personal info return to the phone, but all that info will be as old, as back up itself.

  • How do I set up different network locations with different wifi?

    I am having an issue setting up different network locations with different wifi profiles on each. I want to do this to enable fast switching of wireless networks. In my house I have two wireless networks, my own personal one and one that is created by using a wifi modem supplied by my company. If I use the company wifi network then I can get into all my work applications without having to enable VPN access separately. It is also faster. However, they also block many applications including sending email from my personal email account, dropbox, etc. So throughout the day I need to switch wireless networks back and forth.
    I was looking for a faster way to switch and thought I would try network locations. Was able to set up a new network location without issue. However it seems that whatever wireless preferences, changes, or wifi network order I put into my "Work" location it carries over to my other location which is the standard "Automatic".
    What I would like it to have my "Work" location only to be able to connect to my work wifi and my other network (Automatic) to just connect to my home wifi only. That way I can enable faster wifi switching and can even use my launcher program (Alfred) to provide shortcuts.
    Anyway to do this?
    Thanks in advance for any help or advice.

    Just thought I would bump this up in the conversation. Doing a further search I came across this discussion which is similar: Connecting to a wireless network via applescript?
    However, I tried to build the Automator application as discussed and cannot get it to work. Very much a novice at Applescript and Shell Script but have created customized Automator services before. All I get now is "Shell Script command encountered an error". No more detail. I copied and pasted the script as shown in the email thread. Is there any other line or command I need to place in front of it?
    Thanks again for any help

  • I have one modem in the house but I need 2 different networks.

    I have one modem in the house but I need 2 different networks that will not communicate or even see each other. The first network is the one that needs to be the most secure. The computers are used for personal information, documents, pictures, Apple TV and iTunes home sharing.(3 Apples, 3 iPads, 3 iPhones and 4 Apple TVs)  The second network needs to be for the 3 computers and gaming systems used for social games on Facebook, PSP, XBox, and a gaming system used for World of Warcraft.  The social interactions seem to be the ones that have picked up most of our computer network issues and I would like to be able to isolate them from any communication with our home network (2 PCs and 1 Mac). Is there a way that I can use 2 different routers along with blocking any bluetooth and/or bonjour connections?  I am not worried about a networked printer for the second network, it is more to try and contain any issues that may slip though virus protection and create a mess with our home systems. It would be nice to still be able to set up a Guest Network for the herds of kids and adults to use when visiting as well.  PLEASE tell me this can be done.
    Thank You
    Christine

    Christine,
    Apple may be able to do some, but not all of what you want to do.
    The dual band AirPort Extreme can create a main, or "private" network and a separate "guest" network. The private network can be configured to handle both wired and wireless clients. The "guest" network works only for wireless clients.
    Computers, devices, etc on the "guest" network cannot "see" or communicate with any of the devices on the main or "private" network. But, it is possible to allow clients on the "guest" network to see other devices on the "guest" network, so a wireless printer on this network would allow anyone on the "guest" network to be able to use the printer if you need that functionality.
    You can "extend" the "main" network using more wireless devices if you need more wireless coverage. The "guest" network cannot be extended.
    Depending on the level of service you have with your ISP, you may have bandwidth issues with two networks and multiple devices all trying to use the Internet connection.  I would think that a 25-30 Mbps connection would be the bare minimum to handle what you want to do and 50 Mbps would be advised.
    If you want to use two separate routers, you are really looking at a commercial type installation best handled by commercial products like Cisco, so that might be the place to look.

  • How do I access a USB server on a "different network segment"?

    I have tried posting this question in the Server community but with no response, however I believe the solution will be achived through Terminal and I believe there will be those versed in the use of Terminal here, so here goes.
    I have a USB Server with four ports attached to my ethernet LAN. If I enter the IP address into Safari it shows me the Server details and the details of any item attached to any of the ports. However I cannot access anything on the server. If I put the IP address into Connect to Server I get an error message. Apparently the Server is on a "different network segment". How can I overcome this?
    Attached pages from Safari.

    MyBook USB=junk.
    If you search the forums you will find many users with problems with this particular brand.
    Does this drive have an external AC power supply brick? If not, Apple recommends the use of a powered USB hub.

  • How can I read published data from a datasocket server running in a different network?

    Hi all,
    I have been trying to solve this problem but without any success. I want to develop data acquisition Vi to run on a computer on a remote location. I want to use the datasocket technology to acquire and publish this data so that in my office (in a different network), I can read the published data and perform analysis with it. I can successfully use this approach for the two computers in the same network but not when they are in different networks. My real problem is how to specify the URL for the acquisition computer in one network while the analysis Vi runs on a different network.
    I have attached two Vis to illustrate my point (I simply want to be able to read the random numbers generated in the acquisition computer in a different network). The first Vi (RemoteDatasocketWrite.vi) will run on the remote computer with an IP address (192.168.0.110). My office computer on which RemoteDatasocketRead.vi runs has an IP address (192.168.0.11) and I can log in remotely into the remote computer using Remote Desktop Protocol with name (emelvin.001.eairlink.com) from my office computer.
     Is it possible to do what I am trying to do or is there a simpler way to solve this problem?
    I will really appreciate any help towards a solution to this problem.
    Thanks
    Attachments:
    RemoteDatasocketWrite.vi ‏9 KB
    RemoteDatasocketRead.vi ‏9 KB

    Are you getting an error? The way you have it set up, you can have an error and it will never be displayed. Put and error control on your front panel and see what it gives you. Also, shared variables in a project can be useful. Look at some examples for that.

  • HT5554 How can I tell if an iPhone 5 is locked to a network ( without having to try different network sims)

    How can I tell if an iPhone 5 is locked to a network - without having to try different sims from different networks?

    you can't.  If you really want to know, call Apple Care.

  • Installing Additional Domain Controller in different Network

    Hi All,
    We are planning to add ADC on existing domain but before start I want to confirm that can I install ADC on different network range as follows:
    Windows Server 2008 Enterprise SP2 Platform
    HODOMAIN.com  IP is: 192.168.2.11
    Branch network New ADC IP is: 192.168.1.11
    we can ping both servers, so can I start the installation of ADC or do I need to prepare ADC on same DC network at Head Office and after installation, we can move the server to branch office and change the IP?
    Thanks
    Agha

    No problem when doing that. Just you need to make sure that any system that will be pointing to this DC by IP for LDAP or DNS query is updated to have the new IP instead of the new one. As this is a new server, you can proceed directly.
    This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.
    Get Active Directory User Last Logon
    Create an Active Directory test domain similar to the production one
    Management of test accounts in an Active Directory production domain - Part I
    Management of test accounts in an Active Directory production domain - Part II
    Management of test accounts in an Active Directory production domain - Part III
    Reset Active Directory user password

  • Issue in accessing service hosted on a different network

    We have a wsdl hosted on ebiz apps server which is accessed from one of our bpel processes which run on a soa server. Now both these servers (ebiz apps and soa) are on a different network, so I need to give IP address of my ebiz apps server while deploying bpel on soa server. This works fine and bpel on soa server is able to access my wsdl on ebiz apps server. (e.g. instead of ap6039fems:7785, I give 144.20.199.84:7785)
    Now, my ebiz wsdl in turn imports some xsds using the ebiz server host name; these I cannot replace with IP address since I cannot modify the ebiz wsdl contents. This leads to issues during deployment on soa server since the compiler on soa server cannot access the xsds hosted on ebiz server. Do you know of any way to overcome this network issue, any dns entry would help ! Could you please share your experiences if any or point to someone.I
    Thanks,
    Ankit

    System Preferences/Network/Wi-Fi/Advanced.

  • HT4972 Hello there, i have an i Phone 3GS which was locked on the network Orange from U.K i finished the contract last year, but some how i cant unlock it to be able to use on a different network. tried to restore it on itunes but it says unable to proces

    Hello there, i have an i Phone 3GS which was locked on the network Orange from U.K i finished the contract last year, but some how i cant unlock it to be able to use on a different network. tried to restore it on itunes but it says unable to process at this time.

    under UK legislation, if your are out of contract (and not owing the carrier any debts!) they are LEGALLY obliged to unlock you, and within a certain number of (few) days.. search OFCOM for the regulations.
    That said, they are also entittled to charge you for this (usually about £20!)
    I believe, that this can also be done via an APPLE STORE, but the first option is always the Origional Network carrier.
    Orange has a terrible repuation now for customer service (which is just one reason they changed their name to EE!, and yes, this is fact which is why they came Bottom in several recent customer satisfaction surveys.. so they are not going to rush to help you leave them are they..)

Maybe you are looking for

  • My hd makes clicking noises...

    I just got the 30GB iPod video yesterday and I noticed at the start and finish of a video, and occasionally while playing music, the HD makes quite obvious clicking noises. The reason I'm worried is because I though HD's only make the noise of starti

  • Intel imac G5, Safari and Godaddy problems

    I have an intel imac G5 with OS 10.4.5 with Safari 2.0.3 and can not access my GoDaddy hosted website directly or with forwarding (on or off)... I can however access the GoDaddy hosted website with my imac G5 (non-intel) with the same version Mac OS

  • Performance Management Appraisal pull position to position

    We are implementing Performance management in MSS/ESS 1.41. The requirement is to have the appraisal document (flexible) pull position to position instead of chief to position. Does anyone know where in the webdynpro this change should be made? D. Ma

  • Is it possible to make a new entry in PSA.

    I found in Mange option, that the fields can be only updated or deleted. But, is there any possibility of making a new entry into it. Hitesh

  • Limited Photoshop Filters When Exporting From LR

    I've found that I can't use the Liquify tool or many other Filters with files exported from Lightroom into Photoshop CS. I was wondering if anyone knew why I'm having this problem. I would really like to use all the Photoshop filters to finish editin