Junk data recovery method and system

A technology of garbage data and recovery methods, which is applied in the storage field, can solve problems such as waste and identification of data fragmentation space, and achieve the effects of reducing space amplification, improving operation efficiency, and reducing impact

Inactive Publication Date: 2022-05-06
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a garbage data recovery method and system, which are used to solve the problem of space waste caused by data fragmentation after the object clone cannot be well identified and processed by the existing method

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
  • Junk data recovery method and system
  • Junk data recovery method and system
  • Junk data recovery method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] In order to clearly illustrate the technical features of this solution, the present invention will be described in detail below through specific implementation modes and in conjunction with the accompanying drawings. The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and / or letters in different instances. This repetition is for the purpose of simplicity and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. It should be noted that components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and processes are omitted herein to avoid unnecessarily limiting 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 provides a junk data recovery method and system. The method comprises the steps that an object and the actual data size of the object are acquired; traversing the data structures blob of the object, and calculating the actual physical disk space occupied by all the data structures blob; and when the actual data size and the occupied actual physical disk space meet the preset recovery conditions, creating a new data structure blob, rewriting the object into the allocated new disk space, and releasing the original data and the storage space thereof after the object is written. The method can effectively identify and process objects with junk data, release space occupied by the junk data, and reduce space amplification of a storage system. In addition, due to the fact that an independent thread is used and starting conditions are set, the influence of junk data recovery on normal services can be reduced.

Description

technical field [0001] The invention relates to the technical field of storage, in particular to a method and system for recycling garbage data. Background technique [0002] Bluestore (Ceph storage engine), as a new generation storage engine of Ceph (distributed storage system), bypasses the local file system and directly manages raw devices, so it can independently set the minimum allocation unit size, and pass blob (the corresponding data logical segment in bluestore and the data structure of the physical disk space) to map the logical data block to the space of the physical disk. At the same time, redirected writing is introduced, that is, blobs are recreated and disk space is allocated to write new data when modifying writes, and the object metadata is modified and referenced to the new blob after the new data is placed on the disk, which greatly improves performance. However, this mechanism also introduces new problems. After the object is cloned (such as creating a s...

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): G06F3/06
CPCG06F3/0652G06F3/0608G06F3/0659
Inventor 王鹏
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products