Distributed database data online migration method

The invention discloses a distributed database data online migration method. The method comprises the following steps: deploying a mining environment of a physical library under a distributed database cluster, and writing incremental data into a topic; reading the incremental data in the topic, writ...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: XU CAIFEI, HONG HAO
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a distributed database data online migration method. The method comprises the following steps: deploying a mining environment of a physical library under a distributed database cluster, and writing incremental data into a topic; reading the incremental data in the topic, writing the incremental data into a distributed database through a special account, and stopping incremental synchronization when kafka successfully records current consumption position information; carrying out full reading, re-writing the incremental data into the distributed database through the special account, reading the incremental data again after the synchronization is finished, and writing the incremental data into the distributed database through the special account; and notifying the distributed database to perform configuration switching, and deleting redundant data of old fragments. According to the invention, the effects that migration of full data and incremental data is achieved without awareness of a