Jump to content

Public Preview announcement - Azure DMS consistent snapshot without locks


Recommended Posts

Guest Aditi_Gupta
Posted

We’re pleased to announce that Azure DMS now provides preview support for consistent snapshot without locks, which businesses can use to migrate databases to Azure while those databases remain operational. MySQL Consistent Snapshot without locks is a new feature that allows users to take a Consistent Snapshot of a MySQL server without losing data integrity at source.

 

 

 

When you enable this option, a reconciliation phase will occur after the initial load. This is to ensure that the data written to your target is transactionally consistent with the source server from a specific position in the binary log.

 

 

 

With this feature, we don't take a read lock on the server. We instead read tables at different point in time, while keeping track of the different binlog positions of each table. This aids to reconcile the tables towards the end of the initial load by performing replication in catchup mode to get a consistent snapshot.

 

 

 

mediumvv2px400.png.0207051b3d1d64f6cbe1d1bba5f9d4e4.png

 

 

 

 

Key features of Consistent Snapshot without locks:

 

  • Ability to support heavy workload servers or servers with long-running transactions without the need for read locks.
  • Resilient in completing migrations even in the event of failures caused by transient network/server blips that result in loss of all the pre-created connections.
  • Separate reconciliation phase to ensure data written to target server is transactionally consistent with the source server from a specific position in the binary log.

 

 

 

mediumvv2px400.png.572a6f2f3979ab70fc066728665de7e1.png

 

 

 

 

 

Known issues and limitations for Enable Consistent Snapshot without locks

 

  • Tables with foreign keys having Cascade or Set Null on delete/on update clause aren't supported.
  • No DDL changes should occur during initial load.

 

 

 

For more information about using Azure DMS consistent snapshot without locks, see the following documentation:

 

 

If you have any feedback or questions about the information provided above, please leave a comment below or email us at AskAzureDBforMySQL@service.microsoft.com. Thank you!

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...