Unlock instant, AI-driven research and patent intelligence for your innovation.

Data backtracking method and device

A backtracking method and data location technology, applied in the database field, can solve problems such as complex process and extended data backtracking time, and achieve the effect of reducing data backtracking time delay and high data backtracking efficiency

Pending Publication Date: 2022-02-25
HUAWEI CLOUD COMPUTING TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the backtracking process, the process of reading logical records and reversing the update operation is complicated, and the data backtracking time delay is long

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
  • Data backtracking method and device
  • Data backtracking method and device
  • Data backtracking method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the principles and technical solutions of the present application clearer, the implementation manners of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0046] In order to facilitate the reader's understanding, the nouns involved in the embodiments of the present application are explained below:

[0047] Relational database: refers to a database that uses a relational model to organize data, which stores data in the form of rows and columns. Each relational model can be called a relational table. According to different storage principles, relational databases can be divided into distributed relational databases and non-distributed relational databases.

[0048] Transaction: It is a unit that maintains the consistency and integrity of database data, and it has the characteristics of "all success or all failure". Before a transaction is committed, the database is not responsible for the ...

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 discloses a data backtracking method and device, and belongs to the technical field of databases. The method comprises the steps of obtaining first metadata corresponding to a target historical moment in metadata of log data; obtaining second metadata corresponding to the target historical moment in metadata of each piece of fragmented data in a plurality of pieces of fragmented data, wherein the plurality of pieces of fragmented data are data obtained by fragmenting the log data; processing the log data according to the first metadata to obtain log data at a target historical moment; and processing the multiple pieces of fragmented data according to the second metadata to obtain multiple pieces of fragmented data at a target historical moment. According to the invention, the data backtracking time delay can be reduced. The method is used for disaster recovery of the database.

Description

[0001] This application claims the priority of the Chinese patent application with the application number 202010748428.X and the title of the invention "method, device, server and storage medium for snapshot flashback" filed on July 30, 2020, the entire contents of which are incorporated by reference in this application. technical field [0002] The present application relates to the technical field of databases, in particular to a data backtracking method and device. Background technique [0003] In order to improve the disaster tolerance of a database (Database, DB), it is necessary to perform data backtracking in some scenarios. For example, in some databases, each time an update operation is performed, such as a Data Manipulation Language (Data Manipulation Language, DML) operation, the database needs to logically record the operation in a designated storage space. When data backtracking is required, each update operation of the logical record is read from the specified...

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/21G06F16/23G06F16/2455G06F16/28G06F3/06
CPCG06F16/219G06F16/284G06F16/2358G06F16/2455G06F3/0608
Inventor 侯振山徐陈锋吴国军牛晨阳李敏辉赵成
Owner HUAWEI CLOUD COMPUTING TECH CO LTD