Index tree construction method and system for key value storage system

A construction method and storage system technology, applied in the field of index tree construction for key-value storage systems, can solve problems such as low retrieval efficiency, and achieve the effects of low space overhead and high efficiency

Active Publication Date: 2019-08-02
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF10 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In order to solve the problem of low retrieval efficiency in the above-mentioned storage system, the present invention uses an index tree with upper and lower index structures to meet the needs of the key-value storage system for efficient retrieval of key-value data

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
  • Index tree construction method and system for key value storage system
  • Index tree construction method and system for key value storage system
  • Index tree construction method and system for key value storage system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] In order to make the purpose, technical solution and advantages of the present invention clearer, the method for constructing an index tree oriented to a key-value storage system proposed by the present invention will be further described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation methods described here are only used to explain the present invention, and are not intended to limit the present invention.

[0038] The present invention proposes a method for constructing an index tree oriented to a key-value storage system. The index tree constructed by this method is called RH-Tree (Radix Hashing Tree, hash index tree). Compared with the tree index structure with operation complexity of O(logn) such as B+ tree, RH-Tree has a better single operation capability O(L+K); compared with hash index, RH-Tree On the one hand, it can support range search, and on the other hand, RH-Tree can dynamically handl...

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 an index tree construction method for a key value storage system, which comprises the following steps of: sorting and dividing prefixes of key values of key value data to generate a dictionary tree serving as an upper layer structure of an index tree; constructing a hash table by using the hash value of the key value, and generating a lower layer structure of the index tree by using the hash table; and establishing a corresponding relation between the key value data, the hash table and the dictionary tree, and generating the index tree. According to the index tree construction method, key value data indexing operation is conducted through the constructed index tree of the upper-layer and lower-layer structure, more excellent single operation capacity O(L+K) is achieved, lower space cost and higher efficiency are achieved, and range finding and dynamic data increasing processing are supported.

Description

technical field [0001] The invention belongs to the technical field of key-value storage and index stored in a computer, and in particular relates to a method and system for constructing an index tree oriented to a key-value storage system. Background technique [0002] For a storage system, how to efficiently organize and index these data has become a key factor affecting the efficiency of a storage system. For the design of memory indexes, the index types that are widely used at this stage mainly include the following: [0003] 1. B+tree (B+tree): A multi-fork search tree in which a node can have more than 2 child nodes. It is capable of storing data, sorting it, and allowing data structures that perform lookups, sequential reads, insertions, and deletions to run in O(log n) time complexity. The B+tree algorithm is widely used in databases and file systems. Invented "A B+ tree read cache method and related devices" (public number: CN109492005A), which discloses a B+ tre...

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): G06F16/22
CPCG06F16/2246
Inventor 韩书楷蒋德钧熊劲
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
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