Checkpoint construction method and device, electronic equipment and storage medium

The invention discloses a check point construction method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a primary key index of at least one data table in a database; aiming at each primary key index, each key value pair corresponding to th...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHOU KAIYAN, GONG XUEQING, LIU WANGGEN, XIE YUBO
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 check point construction method and device, electronic equipment and a storage medium. The method comprises the following steps: acquiring a primary key index of at least one data table in a database; aiming at each primary key index, each key value pair corresponding to the primary key index is determined, and the value of the key value pair points to the latest version of the data; and executing the check points according to each key value pair so as to complete backup of the latest version of the data, so that the problem that the check points in the memory database are relatively long in construction time is solved, the key value pairs are determined through the primary key index of the data table, values in the key value pairs point to the latest version of the data, and the check points are executed according to the key value pairs, so that the latest version can be directly obtained. According to the method, all versions stored in the database are prevented from being scanned,