Hi Experts, I need a small suggestion on how to replicate non PK columns, below is my scenario.
Server1, db1, 10 tables with PK used Transactional Replication To replicate Server2, db1--All good and happy
Server1, db1, 5 tables without PK Scheduled to run every 1 hour snapshot Replication To replicate Server2, db1, when i do this
all tables involved in Snapshot gets LOCKED to prevent any further Changes and that causing issues on Server1, db1 on 5 tables without PK , so had to drop that option
I thought of doing log shipping, Mirroring, not a good option for always on for 5 tables but none helping as i want Server2, db1 all tables for reporting purpose.
I am thinking of scheduling a JOB(ssis) on Server1 to truncate data of NON PK tables (5) on Server2 and then insert every 1 hour, but that also could block reporting users,
my question is how should i achieve this without blocking everyone , also can someone please provide a tip how to push data to server2, db1, any 5 tables if there is any change found in Server1,db1, in any 5 tables ?
Thanks for the help