A multi-level disordered indexing method and system

An indexing and unordered technology, applied in the field of fast multi-level unordered indexing methods and systems, can solve the problem of low performance of write and delete operations, low performance of read operations, and inability to simultaneously meet the high performance requirements of read, write, and delete operations, etc. question

Active Publication Date: 2019-06-25
PEKING UNIV +1
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] However, the two existing technologies for leaf node organization have serious disadvantages, and cannot meet the high-performance requirements of read, write, and delete operations at the same time
One is the ordered index, the principle of which is the simplest, the most well-known, and the most widely used, and has become common knowledge in this field, such as ...

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 multi-level disordered indexing method and system
  • A multi-level disordered indexing method and system
  • A multi-level disordered indexing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0082] Below in conjunction with accompanying drawing, further describe the present invention through embodiment, but do not limit the scope of the present invention in any way.

[0083] The present invention uses a multi-level disordered index to realize fast indexing, and compared with the prior art one-level disordered index or one-level ordered index, it can more efficiently complete operations such as writing, reading, deleting, and range searching.

[0084] Example scenario description: There are two storage devices: DRAM memory and SSD solid-state hard disk. The non-leaf nodes of the B+ tree are placed in DRAM, and the leaf nodes are placed in SSD. In this implementation example, the value is a string of small words, and the value of the key ranges from 0 to 200.

[0085] When a string pop is newly written:

[0086] (1) Assign a globally unique key 113 to the character string pop.

[0087] (2) Read the root node of the B+ tree and traverse layer by layer. Since the k...

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 rapid multi-level disordered indexing method and a rapid multi-level disordered indexing system. In a key value system constructed based on a storage device, all keys are organized into a B + tree, the keys are quickly indexed by adopting a sequential method or an improved dichotomy, and specific keys and value addresses thereof in leaf nodes are searched, so that orderedindexing is realized through multi-level disordered leaf nodes. The system comprises a first storage device and a second storage device, which are used for storing the non-leaf nodes and the leaf nodes of B + trees respectively; The same or different storage devices can be adopted respectively; Or mutually isolated storage areas are divided in the same storage device. According to the invention,through multistage disordered indexing, ordered indexing is ingeniously realized, so that the method has the advantages of ordered indexing and disordered indexing, and meanwhile, the requirements andeffects of reading, writing and deleting operations on high performance are met.

Description

technical field [0001] The invention relates to the fields of big data processing technology and storage index technology, in particular to a fast multi-level disordered index method and system. Background technique [0002] With the advent of the big data era, the Key-Value storage system (KV) ushered in rapid development. The key-value system assigns a globally unique key (Key) to each value (Value) when performing a write operation for the first time. In subsequent read and delete operations, the key needs to be obtained first. Therefore, the fast indexing speed of the key directly affects or even determines the performance of the key-value system. [0003] The existing fast index methods mainly include Hash index and B+ tree index: Hash index does not support range search and has hash conflicts, so the application range is narrow. B+ tree index supports range search, and there is no problem of hash collision, so it has become a mainstream method at present. [0004] ...

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/22
Inventor 王平杨洪章屠要峰
Owner PEKING UNIV
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