Data migration method and device and electronic equipment

The embodiment of the specification provides a data migration method. The method comprises the following steps: creating a data relay with a data migration task and a task suspension rule; determining a source database, and executing the data migration task on the first data in the source database,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: SONG RONGXIN, YANG ZHIHAO, WEI YICHAO, ZHENG SHUO, NI SIYONG, WANG XIANGYU, CAO DEGAO, XIE YINYI, HUANG JIANTING, XIAO WEIWEI
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 embodiment of the specification provides a data migration method. The method comprises the following steps: creating a data relay with a data migration task and a task suspension rule; determining a source database, and executing the data migration task on the first data in the source database, which comprises executing a first task: obtaining the first data from the source database and writing the first data into the data relay; executing a second task: acquiring first data from the data relay, and writing the first data into a target database; then executing the task suspension rule according to the state of the data relay; and suspending one of the first task and the second task. The state of the data relay can reflect the relative progress of the two tasks, migration abnormity can be effectively perceived, and the reliability of the data migration process is improved by suspending the task for obtaining the data and the task for writing the data. 本说明书实施例提供一种数据迁移方法,创建具有数据迁移任务和任务挂起规则的数据中转器,确定源数据库,对源数据库中