GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

Question Regarding Replication Method for Tables Without Primary/Unique Keys

Hi All,

I have a requirement to replicate approximately 20 schemas (around 15,000 tables) in a database. Out of these tables, about 7,000 do not have a Primary Key (PK) or Unique Key (UK) defined.

Based on my research, the available approaches to configure Extract and Replicat in this scenario appear to be:

  1. Replicating the tables as they are, which may lead to duplicate data issues or potential Replicat abends.
  2. Defining KEYCOLS for the tables without PK/UK.

So far the KEYCOLS approach seems to be the most reliable, but implementing KEYCOLS for more than 7,000 tables would be quite complex and time consuming.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center