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

Data snapshot method and device, computer equipment and storage medium

A technology with data and data, applied in the field of data snapshot method, computer equipment and storage medium, and devices, can solve the problems of large decline in writing performance data, large decline in data reading performance, etc.

Active Publication Date: 2020-11-20
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first method of copying data after a snapshot is copy-on-write (COW for short). Go to the snapshot storage location, and then write the newly written data to the original storage location. The advantage of this method is that the read performance after the snapshot will not decrease, but the disadvantage is that the write performance after the snapshot will drop more due to the copying of the write location data; The second method of copying data after a snapshot is Redirect On Write (ROW for short). The principle is that the first write of the data after the snapshot is written directly to the new storage location, but the index of the write location data requires Point to the new storage location. The advantage of this technology is that the write performance will not decrease after the snapshot. The disadvantage is that a large number of random writes after the snapshot will cause the overall data read performance to drop significantly.
It can be seen that there are deficiencies in the post-snapshot data copy methods using COW or ROW in the prior art, so improvement is urgently needed

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 snapshot method and device, computer equipment and storage medium
  • Data snapshot method and device, computer equipment and storage medium
  • Data snapshot method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0043] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0044] In one example, please refer to figure 1 As shown, the present invention provides a kind of data snapshot method, specifically this method comprises the following steps:

[0045] S100. Acquire the capacity of the data to be written after 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 relates to a data snapshot method and device, computer equipment and a storage medium. The method comprises the steps that the capacity of data to be written in after snapshot is obtained, and the capacity of the data to be written in is compared with preset capacity; if the capacity of the to-be-written data is greater than or equal to the preset capacity, the data to be written iswritten into a snapshot volume by adopting a writing redirection mode; if the capacity of the data to be written is smaller than the preset capacity, the data to be written is written into a solid state disk by adopting a writing redirection mode; and if the background write-back thread monitors that data is written into the solid state disk, the corresponding data in the source volume is writteninto the snapshot volume in a copy-on-write mode, and the data to be written in the solid state disk is written into the source volume. According to the scheme, the random writing performance of largedata is guaranteed, and the reading performance of small data after random writing is guaranteed.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to a data snapshot method, device, computer equipment and storage medium. Background technique [0002] Snapshot is a data protection technology commonly used in distributed storage systems. The essence of snapshot is the mirror image of data at a certain point in time. It can be a copy of data or a reference to data. In existing production applications, snapshots can regularly back up and restore online data. When a user accidentally deletes data, the data can be rolled back to the previous scheduled snapshot to ensure normal business operations. Snapshot technology is becoming more and more important in applications, and data copying in several processing stages of the snapshot process is the core of the snapshot technology. [0003] Currently, there are two main ways to copy data after a snapshot. The first method of copying data after a snapshot is copy-on-write (COW ...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/14G06F3/06
CPCG06F11/1448G06F3/0665G06F3/0676G06F3/067G06F2201/84G06F11/1451G06F3/065G06F3/061G06F3/0619G06F11/1458
Inventor 侯斌
Owner INSPUR SUZHOU INTELLIGENT TECH 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