Reputation: 61
We are planning to migrate our SQL on prem database to azure and this database has lot of tables and out of them few are very highly transaction table (contains millions of records), we want to minimize the down time of the application and decided to use the transaction replication using snapshot for the replication of data and then take some down time and do a cut-over to azure database from our application
Below are the issues which we have seen so far in pre prod
I hope many of you have experience this issues and has some best practices to share.
Upvotes: 1
Views: 3811
Reputation: 350
I would suggest using a time reference to your procedure. I can think two ways to achieve that:
Upvotes: 0
Reputation: 28900
This article says
[ @sync_method=] 'sync_method'
Produces native-mode bulk copy program output of all tables but does not lock tables during the snapshot. Only supported for transactional publications. Not supported for Oracle Publishers.
You may want to try it..
References:
https://dba.stackexchange.com/questions/73629/how-to-generate-replication-snapshot-without-locking-tables
https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-addpublication-transact-sql
Upvotes: 1