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:
- Replicating the tables as they are, which may lead to duplicate data issues or potential Replicat abends.
- 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.