Database synchronization method and device, electronic equipment and storage medium

The invention is suitable for the technical field of data processing, and provides a database synchronization method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a data table set which is different from a data table with the same name o...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: CHEN ZHEN, XIONG SHENGHUI, CEN YIN, SHEN ZHIWEI, LIANG SHUXING, ZENG JIUYE, XU YIXIN, JIA LIWEI, LI QIANG, HAN MAOLIN
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 is suitable for the technical field of data processing, and provides a database synchronization method and device, electronic equipment and a storage medium. The method comprises the following steps: determining a data table set which is different from a data table with the same name of a slave database and exists in the master database according to a check code of each data table stored in the master database and a check code of each data table stored in the slave database; according to the occupied storage space value of each data table contained in the data table set, dividing the data table set into a plurality of data table groups, so that the difference value between the occupied storage space values of each data table group is smaller than a first threshold value; synchronizing the data table group to the slave database in parallel by utilizing the created threads; wherein each thread is used for executing the synchronous operation of one data table group. According to the method, only th