I want to have two synchronized DB in two different servers (server1 and server2) so:
- table1 in server1 updates table1 in server2 when table1 in server1 changes
and
- table1 in server2 updates table1 in server1 when table1 in server2 changes
this way i can have both tables synchronized when updated from both server, i have managed to use DBlink without problems to update from server1 to server 2.
What is the problem? when both tables have triggers enabled it creates an infinite loop so server1 chenges then it updates server2, then it changes and it updates server1 and so on. Is there a way to do what i need without having this problem?
Thanks.