Metadata updating method and device, equipment and medium

An update method and metadata technology, applied in database update, data processing input/output process, electrical digital data processing, etc., can solve problems such as lack of effective solutions, affect SSD performance, and reduce SSD service life

Active Publication Date: 2020-08-04
北京浪潮数据技术有限公司
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
  • Metadata updating method and device, equipment and medium
  • Metadata updating method and device, equipment and medium
  • Metadata updating method and device, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

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

[0043] Step S11: when the update instruction is received, obtain the target level corresponding to the target metadata corresponding to the update instruction, and cache the update metadata corresponding to the target metadata to the memory of the server where the target SSD is located; ...

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 metadata updating method and device, equipment and a medium, and the method comprises the steps: obtaining a target level corresponding to target metadata corresponding to anupdating instruction when the updating instruction is received, and caching the updating metadata corresponding to the target metadata to a memory of a server where a target SSD is located, wherein the target metadata is metadata obtained by grading metadata in a data file in the target SSD in advance according to the updating frequency of attribute information of the metadata, and the metadata belongs to the same level in the data file is stored in the target SSD in a centralized manner; judging whether the updating metadata reaches a preset updating condition or not; and if yes, writing theupdated metadata into the target SSD. Obviously, due to the fact that the method can greatly reduce the frequency of modifying the target SSD due to metadata updating, the service life of the targetSSD can be remarkably prolonged.

Description

technical field [0001] The present invention relates to the technical field of cloud computing data centers, in particular to a method, device, equipment 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 issues that users care about. Currently, an SSD (Solid State Disk, solid state drive) has the advantages of high performance, low power consumption, and not easily damaged, thus becoming a popular choice in the field of data storage. [0003] In the prior art, a data file stored in an SSD is usually composed of file data and file metadata, and the file metadata in the data file is stored in the SSD as a byte-level small data file. 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 a new logical b...

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): 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