Solved

Update Trigger for Replication

Posted on 2003-10-24
4
786 Views
Last Modified: 2013-12-11
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
Comment
Question by:Lars_Biederstedt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 2

Expert Comment

by:sdrozd
ID: 9651245
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
 

Author Comment

by:Lars_Biederstedt
ID: 9669979
Thanks,

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

Lars
0
 
LVL 22

Expert Comment

by:Helena Marková
ID: 10279168
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
 

Accepted Solution

by:
amp072397 earned 0 total points
ID: 10347420
PAQed, with points refunded (180)

amp
Community Support Cleanup Moderator
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question