Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Distributed data retracement method and device and computer readable storage medium

A distributed data and distributed technology, applied in the computer field, can solve problems such as data inconsistency

Active Publication Date: 2019-10-08
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF5 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005]Based on this, it is necessary to address the technical problem of data inconsistency and provide a distributed data archiving method, device, and computer-readable storage medium that improve data consistency and computer equipment

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Distributed data retracement method and device and computer readable storage medium
  • Distributed data retracement method and device and computer readable storage medium
  • Distributed data retracement method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

[0042] Such as figure 1 As shown, in one embodiment, a distributed database archiving method is provided. refer to figure 1 , the distributed database rollback method specifically includes the following steps:

[0043] Step 102, acquiring the target time point of data rollback.

[0044] For the database, data may need to be rolled back due to misoperation, that is, the data needs to be rolled back to a specific point in time, that is, the data needs to be rolled back to the target point in time. The distributed database is composed of multiple data nodes, and the data ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a distributed database retracement method and device, a computer readable storage medium and computer equipment. The method comprises: acquiring a target time point of data file returning; obtaining backup data, corresponding to the target time point, of each data node; according to the backup data data, retracing the data of each data node to a target time point; obtaining a distributed data operation result record of each data node recorded in the distributed transaction log; and according to the backup data of each data node and the distributed data operation resultrecord, carrying out data compensation on the data obtained by retracing each data node to the target time point to obtain theretracement data of each data node at the target time point. According tothe method, the problem of data inconsistency caused by time inconsistency of all the data nodes is solved, and the consistency of global data of the whole distributed database is ensured.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a distributed data archiving method, device, computer-readable storage medium and computer equipment. Background technique [0002] For database systems, it is often necessary to perform data rollback for various reasons, that is, to restore data to a specified time point or time period. For example, due to misoperation, it is necessary to roll back the data to an hour ago, or to analyze historical data due to analysis and statistics, so it is necessary to roll back the cluster data to the target time point for easy analysis. [0003] In traditional technologies, data restoration is often based on existing backups, and common backup methods are full backup and incremental backup. Since full backup is the complete data mirroring of a data node, it does not need real-time backup, and a regular backup mechanism is often used; incremental backup is the new content genera...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F16/27G06F11/14
CPCG06F11/1446G06F16/27
Inventor 张文雷海林赵伟潘安群赵东志
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products