Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 788
  • Last Modified:

Update Trigger for Replication

Hi,

I am a german student writing his thesis on distributed databases. The actual DB is an Oracle 9i Enterprise Edition Release 2.

I have one table, that should be maintained on all sites. It would need updating "on commit", regardless if a new record is inserted, updated or deleted. Each site should get its own trigger, so that updates/inserts/deletes are possible on every site, with immediate replication on the other sites. However, mutations on this particular table are rather seldom, that's why I chose "triggers" over "advanced replication". I am looking for a more robust, potentially asynchronous solution.

Anything could help me ;-)

Regards,
Lars
0
Lars_Biederstedt
Asked:
Lars_Biederstedt
1 Solution
 
sdrozdCommented:
well, in this case you need to set up database links to the other databases and then write a trigger that will fire on insert,update,delete to do the same DML on other nodes.
Then you repeat this for all other sites. What else do you need to know?
0
 
Lars_BiederstedtAuthor Commented:
Thanks,

but I tried triggers first, but got really confused.
i discovered Oracle Streams and it seems to be a better solution.

Lars
0
 
Helena Markováprogrammer-analystCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ/Refund.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Henka
EE Cleanup Volunteer
0
 
amp072397Commented:
PAQed, with points refunded (180)

amp
Community Support Cleanup Moderator
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now