Method, device, equipment and medium for updating metadata

An update method and metadata technology, applied in database update, input/output process of data processing, electrical digital data processing, etc., can solve problems such as affecting SSD performance, lack of effective solutions, and reducing SSD service life, etc. Achieve the effect of reducing the number of erasures and modifications, reducing the number of times, and increasing the service life

Active Publication Date: 2022-03-22
北京浪潮数据技术有限公司
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, this metadata update method requires frequent modification and update of the SSD, which will not only affect the performance of the SSD itself, but also greatly reduce the service life of the SSD.
At present, there is no effective solution to this technical problem

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
  • Method, device, equipment and medium for updating metadata
  • Method, device, equipment and medium for updating metadata
  • Method, device, equipment and medium for updating metadata

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0042] See figure 1 , figure 1 A flowchart of a method for updating metadata provided by an embodiment of the present invention, the updating method includes:

[0043] Step S11: when the update instruction is received, the target level corresponding to the target metadata corresponding to the update instruction is obtained, and the update metadata corresponding to the target metadata is cached in the memory of the server where the ta...

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 discloses a method, device, device and medium for updating metadata, including: when an update instruction is received, acquiring the target level corresponding to the target metadata corresponding to the update instruction, and The corresponding updated metadata is cached to the internal memory of the server where the target SSD is located; wherein, the target metadata is the metadata in which the metadata in the data file in the target SSD is graded in advance according to the update frequency of the attribute information of the metadata; and, the data The metadata belonging to the same level in the file is centrally stored in the target SSD; and it is judged whether the update metadata meets the preset update condition; if so, the update metadata is written to the target SSD. Obviously, since this method can greatly reduce the number of times to modify the target SSD due to metadata update, it can significantly improve the service life of the target SSD.

Description

technical field [0001] The present invention relates to the technical field of cloud computing data centers, and in particular, to a method, device, device and medium for updating metadata. Background technique [0002] In the field of cloud computing data centers, the performance and security of data storage have always been the core concerns of users. At present, SSD (Solid State Disk, solid state drive) has the advantages of high performance, low power consumption and not easy to be damaged, so it has become a popular choice in the field of data storage. [0003] In the prior art, the data files stored in the SSD are usually composed of file data and file metadata, and the file metadata in the data files are all stored in the SSD as byte-level small data files. In this case, when the target metadata in the data file needs to be updated, since the logical block storing the target metadata cannot be overwritten in the original position, it can only be updated on the new lo...

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): G06F3/06G06F16/23
CPCG06F3/0616G06F3/0638G06F3/0656G06F3/0679G06F16/23
Inventor 邸忠辉
Owner 北京浪潮数据技术有限公司
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