Database data synchronization method and device and storage medium
The invention discloses a database data synchronization method and device and a storage medium, and the method comprises the steps: receiving a transaction submission request message sent by a client under the condition that transaction response results fed back by a plurality of data nodes are succ...
Gespeichert in:
1. Verfasser: | |
---|---|
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 invention discloses a database data synchronization method and device and a storage medium, and the method comprises the steps: receiving a transaction submission request message sent by a client under the condition that transaction response results fed back by a plurality of data nodes are successful, and writing a global transaction ID into a transaction processing table; sending the transaction submission request message to the plurality of data nodes; receiving transaction submission results fed back by the plurality of data nodes; and under the condition that transaction submission results fed back by the plurality of data nodes are all successful, applying for releasing the global transaction ID from a global transaction manager. According to the method, data synchronization between the distributed database and the stand-alone database in the heterogeneous database system can be realized, and the problem of inconsistency caused by sending requests to the two databases at the same time is solved by a |
---|