Snapshot method and device, related equipment and database system

The invention provides a snapshot method and device, related equipment and a database system, and specifically, a transaction log and a snapshot command for data in a storage node are generated for a computing node in the database system, then the snapshot command is added into the transaction log,...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: LI BIAO, NIU CHENYANG, MENG JUNCAI, XU CHENFENG, ZHAO CHENG, WANG ZHUO
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 provides a snapshot method and device, related equipment and a database system, and specifically, a transaction log and a snapshot command for data in a storage node are generated for a computing node in the database system, then the snapshot command is added into the transaction log, and the transaction log is submitted. In this way, the storage node can obtain the snapshot command from the transaction log submitted by the computing node, and the corresponding snapshot process is completed. Therefore, depending on a reliability mechanism after the transaction log is submitted, the success rate of data snapshot of the storage node can be effectively improved, so that the reliability of a database system can be improved. 本申请提供了一种快照方法、装置、相关设备及数据库系统,具体为数据库系统中的计算节点生成事务日志以及针对于所述存储节点中数据的快照命令,然后将快照命令添加至事务日志中并提交事务日志。这样存储节点可以从计算节点提交的事务日志中获得快照命令,完成相应的快照过程。如此,依赖于提交事务日志后的可靠性机制,可以有效提高存储节点进行数据快照的成功率,从而可以提高数据库系统的可靠性。