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

Data snapshot method, device, computer equipment and storage medium

A technology with data and data, which is applied in the data snapshot method, computer equipment and storage media, and the field of devices. It can solve the problems of large data drop in writing performance and large drop in data reading performance, so as to ensure random write performance, The effect of guaranteed read performance

Active Publication Date: 2022-07-12
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF5 Cites 0 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, device, computer equipment and storage medium
  • Data snapshot method, device, computer equipment and storage medium
  • Data snapshot method, device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings.

[0043] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities with the same name but not the same or non-identical parameters. It can be seen that "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, and subsequent embodiments will not describe them one by one.

[0044] In one embodiment, please refer to figure 1 As shown, the present invention provides a data snapshot method, and the specific method includes the following steps:

[0045] S100: Acquire the capacity of the data to be written a...

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 present application relates to a data snapshot method, device, computer equipment and storage medium. The method includes: acquiring the capacity of the data to be written after the snapshot, and comparing the capacity of the data to be written with a preset capacity; if the capacity of the data to be written is greater than or equal to the preset capacity, using the The data to be written is written to the snapshot volume in the redirection method; if the capacity of the data to be written is smaller than the preset capacity, the data to be written is written to the solid-state disk by means of the write redirection method If the background write-back thread detects that there is data writing in the SSD, the copy-on-write method is used to write the corresponding data in the source volume to the snapshot volume, and the data to be written in the SSD is written to the source volume. roll. The scheme of the present invention not only ensures the random write performance of large blocks of data, but also ensures the read performance of small blocks of data after random writing.

Description

technical field [0001] The present invention relates to the field of storage technologies, and 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 a snapshot is a mirror image of data at a certain point in time, which can be a copy of the data or a reference to the data. In existing production applications, snapshots can regularly backup and restore online data. When a user accidentally deletes data, the data can be rolled back to the previous timed 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] At present, there are two main ways to copy data after a snapshot. The first method of copying data after snapshot is Copy On...

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 Patents(China)
IPC IPC(8): G06F11/14G06F3/06
CPCG06F11/1448G06F3/0665G06F3/0676G06F3/067G06F11/1451G06F11/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