Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method for quickly reading key value storage data based on log structure merging tree

A data reading and logging technology, applied in structured data retrieval, database indexing, special data processing applications, etc., can solve problems such as accelerating data reading

Pending Publication Date: 2021-03-12
WUHAN UNIV
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Aiming at the read amplification problem existing in the existing LSM-tree-based key-value storage system, the present invention proposes a method for speeding up data reading by using an additional memory index

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 for quickly reading key value storage data based on log structure merging tree
  • Method for quickly reading key value storage data based on log structure merging tree
  • Method for quickly reading key value storage data based on log structure merging tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0043]In order to facilitate those of ordinary skill in the art to understand and implement the present invention, the present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the implementation examples described here are only used to illustrate and explain the present invention, and are not intended to limit this invention.

[0044] Because the cuckoo hash table will take up additional memory space, in order to limit the additional memory overhead, we only construct fast hash indexes for the first three levels of data layers. In the key-value storage system, an additional cuckoo hash index structure is constructed for storing the key-value pairs of the first three levels of data in the LSM-tree, such as figure 1 shown. The cuckoo hash table is stored in the memory module, which caches the storage address information of the key in the first three data layers. The key-value pair s...

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 relates to a method for quickly reading key value storage data based on a log structure merging tree. A log structure merging tree is constructed through multiple data layers, multiple groups of key value data pairs are accessed to each data layer of the log structure merging tree, the data reading frequency in each data layer of the log structure merging tree is counted and analyzed, the log structure merging tree is divided into a data layer with high reading frequency and a data layer with low reading frequency, and a multi-layer cuckoo hash table application data reading layer is constructed for the data layer with high reading frequency; if the byte number of the keys in the key value data pairs in the data layer is greater than a byte threshold, MD5 encoding is carriedout on the keys and then the keys are stored in a cuckoo hash table; and when data index reading is carried out, firstly the valley hash index is inquired, and if the valley hash index is not hit, thestep of continuing to inquire the low-reading-frequency data layer is carried out. The method has the advantages that a data layer with high access frequency is selected through a heuristic strategy,an additional hash index is constructed for the data layer, and the reading performance is obviously improved by using a limited memory space.

Description

technical field [0001] The invention belongs to the field of computer science storage systems, and in particular relates to a fast reading method for key-value storage based on a log structure merge tree. Background technique [0002] Data-intensive enterprise-level applications often use persistent key-value storage systems for data reading and writing, such as web site crawlers, social networks, and image storage. Persistent key-value storage systems generally provide common operation interfaces, such as writing / updating key-value pairs, reading / point query and scanning (range query) of data to serve various applications. Among many key-value storage systems, key-value storage systems based on log-structured merge tree (LSM-tree) are particularly popular, mainly because they convert intensive random writes into sequential writes to make full use of disk I / O bandwidth. . The key-value storage system based on LSM-tree usually consists of a memory module and a disk module: ...

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): G06F16/22G06F16/18
CPCG06F16/2255G06F16/2246G06F16/1815
Inventor 段雪豪
Owner WUHAN UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More