Index structure based on dictionary tree, data query optimization method and main memory manager

An index structure and dictionary technology, applied in database query, structured data retrieval, special data processing applications, etc., can solve the problem of low utilization of main memory space, improve the utilization of main memory space, reduce the number of comparisons, improve Find the effect of performance

Active Publication Date: 2019-10-18
HUAZHONG UNIV OF SCI & TECH
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Aiming at the defects of the prior art, the purpose of the present invention is to solve the technical problem of the low utilization rate of the main memory space by the index structure in the prior art

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 structure based on dictionary tree, data query optimization method and main memory manager
  • Index structure based on dictionary tree, data query optimization method and main memory manager
  • Index structure based on dictionary tree, data query optimization method and main memory manager

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0037] key-value data

[0038] The key is the unique keyword for finding each data address, and the value is the actual stored content of the data. In this embodiment, the key-value pair (“0100 0000 0110 0010 1010 0000 0110 0101”, “be”), the key “0100 00000110 0010 1010 0000 0110 0101” is the only entry of the data, the length n is 32 bits, And the value "be" is what that data actually stores.

[0039] A dictionary tree should satisfy the following three properties:

[0040] 1) The root node does not contain characters, and each node except the root node contains only one character;

[0...

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 an index structure based on a dictionary tree, a data query optimization method and a main memory manager, and belongs to the field of data storage. The index structure is composed of containers, wherein the containers store T nodes and S nodes; complete keys are divided into partial keys; the T nodes store the front m / 2 bits of the partial keys, and the S nodes store the rear m / 2 bits of the partial keys; and the partial keys passing through a certain node path from the root node of the dictionary tree are connected to form the complete keys. And the index structure ismore compact, so that the main memory space utilization rate is improved. The T node is directly skipped to a subsequent brother node by using a skipping relay, so that the comparison frequency is reduced, and the search performance is improved; a T node skip list is used for skipping a T node to an S node, a container skip list is used for skipping the S node to the T node, and the S node directly skips to the nearest target, so that a large number of unnecessary entries are skipped, and the searching performance is improved; and the index structure and the main memory address are completelydecoupled by a pointer P which is analyzed by the main memory manager and contains each hierarchical structure ID.

Description

technical field [0001] The invention belongs to the technical field of data storage, and more particularly, relates to a dictionary tree-based index structure, a data query optimization method, and a main memory manager. Background technique [0002] At this stage, due to the promotion of Moore's Law, both data and disk capacity are growing rapidly, while the capacity of DRAM (Dynamic Random Access Memory, hereinafter collectively referred to as "main memory") is growing relatively slowly. In the face of massive data, DRAM has become the bottleneck of system performance. Improving the utilization of DRAM storage capacity space is crucial to improving the overall performance of the system. Due to the limitation of main memory capacity, massive indexes cannot be completely stored in main memory, and are often partially stored in secondary storage devices, such as magnetic disks or solid-state disks. For applications such as database systems and file systems, it is very import...

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/22G06F16/24G06F12/08
CPCG06F12/08G06F16/2246G06F16/24
Inventor 曾令仿程稳
Owner HUAZHONG UNIV OF SCI & TECH
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