If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > How to get data from DB2 to Oracle and Oracle to DB2

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-28-10, 12:34
Chaks Chaks is offline
Registered User
 
Join Date: Mar 2010
Posts: 3
How to get data from DB2 to Oracle and Oracle to DB2

Hi,

I need to get the data from DB2 database to Oracle database. Make some changes in Oracle database and push back to DB2 database.

My Application has to connect and get the records from DB2 and push into Oracle database. Now my application make some updates in Oracle database and at the end of the day I need to push back from Oracle database to DB2 database.


please suggest options for me how can I do this one.


Regards
Chaks
Reply With Quote
  #2 (permalink)  
Old 03-28-10, 15:09
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
a 0Export data from db2 and load into oracle ..

create triggers on oracle table to capture changes and propogate that to db2.

b) DB2 Federation or Oracle Datalink is another approach

Two of the many possible approaches ..

What is the data volume in consideration here ?
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 03-29-10, 00:54
Chaks Chaks is offline
Registered User
 
Join Date: Mar 2010
Posts: 3
Thanks satyaram.

My data volume here is I need to retrieve around 10 columns from DB2 and update them in Oracle and push back to DB2. These all columns contains simple data containing Statuses of those customers whose Loan Payments are in Due.
Reply With Quote
  #4 (permalink)  
Old 03-29-10, 10:07
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Quote:
Originally Posted by Chaks View Post
These all columns contains simple data containing Statuses of those customers whose Loan Payments are in Due.
In the current economy, I guess there will be plenty of records
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 03-31-10, 06:39
amitb_77in amitb_77in is offline
Registered User
 
Join Date: Mar 2010
Posts: 2
Setup either SQL or Q Bi-directional Replication. In that way you can get all the data in Oracle and any change made to the data in Oracle would be reflected back to the DB2 database.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On