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 > Replicating data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-03, 10:16
rorymoynihan rorymoynihan is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
Unhappy Replicating data

I have two applications writing to two databases, which are modeleddifferently and the new one used by the new app has a larger number of attributes. Both db's are needed to continue working but they should be able to provide a single data view - a record from one should exist in the other with more or less attributes depending on the db. Essentially 2 db's are being used but must provide a single view. I will need to replicate data across both db's in real time.

If I insert a record into one db I need to be able to see a corresponding record in the other db and vica - versa.

I have thought of using triggers but that will just create a loop.

Does anyone have any ideas as to how I would go about doing this?
Reply With Quote
  #2 (permalink)  
Old 10-07-03, 13:20
achiola achiola is offline
Registered User
 
Join Date: May 2002
Location: General Deheza, Cba, Arg.
Posts: 273
Re: Replicating data

hi,

I do not understand why you duplicate the data.
Do you can share the information in both db federating this.

For example,
in the db A you are the following tables:
ta1, ta2 and ta3
and in the db B
tb1

Federating both db you can:

select * from ta1 join tb1.....

Abel.
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