Database migration method and system
The embodiment of the invention provides a database migration method and system.The database migration method comprises the steps that a source database node suspends a transaction being executed, snapshot operation is carried out, and a database snapshot page is obtained; after the snapshot operati...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention provides a database migration method and system.The database migration method comprises the steps that a source database node suspends a transaction being executed, snapshot operation is carried out, and a database snapshot page is obtained; after the snapshot operation is completed, the source database node restores and executes the transaction based on the copy-on-write mode by using a database snapshot page; the transaction received after the snapshot operation is routed to a destination database node; the destination database node uses the database snapshot page to execute the received transaction based on the copy-on-write mode; the source database node sends the modified content to a destination database node, so that the destination database node performs logic playback by using the modified content, and the modified content is the modified content corresponding to the write operation executed by the source database node after the snapshot operation; and the source datab |
---|