A data storage method and device

A data storage and data technology, applied in the field of data processing, can solve problems such as affecting the service life of SSD, and achieve the effect of solving the problem of write amplification and prolonging the service life

Active Publication Date: 2018-06-19
HUAWEI TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, in the data storage method in the prior art, the problem of write amplification generated when updating small-grained data will seriously affect the service life of SSD

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
  • A data storage method and device
  • A data storage method and device
  • A data storage method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0071] In order to make the above objects, features and advantages of the present application more obvious and comprehensible, the present application will be further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0072] figure 1 It is a flowchart of Embodiment 1 of the data storage method of the present invention. Such as figure 1 As shown, the method may include:

[0073] Step 101: Obtain the data that needs to be ...

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 provides a data storage method and device. The method includes: acquiring data from memory that needs to be stored in a solid-state hard disk; caching the data in a data structure of a log-structured merge tree into a magnetic hard disk; performing a merge operation on the data cached in the magnetic hard disk; When the data capacity cached in the magnetic hard disk reaches a preset capacity, the combined data is stored in the solid state hard disk. By adopting the method or device of the present application, the problem of write amplification generated when small granularity data is updated can be solved, and the service life of the solid-state hard disk can be extended.

Description

technical field [0001] The present application relates to the field of data processing, in particular to a data storage method and device. Background technique [0002] With the development of flash memory-based solid-state storage technologies, solid state disks (Solid State Disk, SSD) are gradually introduced into storage systems. Because of its high random read performance at small granularity, SSDs are usually used in application scenarios that require high Input / Output Operations Per Second (IOPS) for read and write (I / O) operations per second. [0003] On the other hand, a multi-way search tree (B-tree) is a more common data structure. Using the B-tree structure can significantly reduce the intermediate process of locating records, thereby speeding up access. Therefore, in order to further improve the data access speed, most of the data in the SSD in the prior art is stored using a B-tree data structure. [0004] In SSD, the way to update data is remote update. The...

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/06
Inventor 刘扬宽熊劲岳银亮张子刚
Owner HUAWEI 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