Databases | How To Use CreateKeys |
Both are empty | Do not need to use CreateKeys. Because there are no rows of data, no replicated transaction keys can be generated. |
One contains data, one is empty | Only use BothQueue&ShadowTable option of CreateKeys if your database is very small. The recommended procedure is to unload the tables with data and reload them into the empty database. |
Both contain data and are synchronized | Use the ShadowTableOnly option of CreateKeys. This option populates the shadow tables so that Ingres Replicator does not detect collisions when manipulating rows for the first time. |
Both contain data but are not synchronized | If a table to be replicated is rather large, attempt to synchronize the databases through some other means or use the BothQueue&ShadowTable option of CreateKeys. Ingres Replicator populates the shadow tables and sends the rows from the local database to the target database. Nonmatching rows cause collisions, which need to be resolved manually or by using collision resolution. For more information on collision handling, see Collision Design. |