Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Replication and Table Design
Using Oracle Enterprise Manager you can define different range of values
to each location, so they won't overwrite any keys. Replication Manager
will update and conciliate them between tables.
Shmuel Cohen wrote:
> I currently have a database schema that includes sequences, i.e.,
>
> create Table XX
> (
>
> rec_id NUMBER
>
> )
>
> create sequence table_XX_seq ...
>
> When record are inserted, each record is given the nextval sequence
> number as it's rec_id - so far, so good. I now need to create both an
> east-coast and west-coast version to provide better data locality - my
> question is: If I apply "loose consistency", that is , asynchronous
> replication of the data (each coast can receive new records for
> insertion in the database) - how can I keep the data synchronized
> properly? If the rec_id is a key field, then potentially, both coasts
> could accept an update during the "loose" period - assign the same
> value to the rec_id field, and then when the system does it's periodic
> replication, I'd have multiple records with the same rec_id -
> violating the DB integrity. What are the normal solutions around
> this?
>
> TIA
Received on Fri Apr 02 1999 - 00:14:59 CST
![]() |
![]() |