Efficient novel memory index structure processing method
A technology of index structure and processing method, which is applied in the field of memory database, can solve problems such as difficult implementation and complex operation, and achieve the effects of simple implementation, good concurrency, and high cache utilization
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2019-12-20
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to methods such as memory database, storage strategy, jump table structure, cache utilization rate and the like. In particular, it relates to an efficient method for processing a novel memory index structure. Background technique
[0002] In-memory database (MMDB) is a data technology that has developed rapidly in recent years. Due to the current development of Internet technology and big data, higher and higher requirements are put forward for the response rate of data. The traditional disk database can no longer meet the requirements of some new services. At the same time, the development of hardware technology has reduced the manufacturing cost of memory. In-memory databases provide feasibility.
[0003] The indexing mechanism is an important part of the database management mechanism. The current memory index structures mainly include B+ trees, hash tables, and skip tables. Among them, only a single key query can be perform...
Examples
Embodiment Construction
[0026] The technical solution of the present invention will be further described in conjunction with specific implementation and examples.
[0027] Such as figure 1 , the specific implementation process and working principle of the present invention are as follows:
[0028] The specific implementation of the present invention can be aimed at the literal data of characters and character strings, such as user registration data in the background of the website, patent query and other statistical category storage data of information objects.
[0029] (1) Before skip table processing, calculate the query distribution and data distribution through statistical information. The data distribution and query distribution of the memory data set are relatively stable, and the data distribution and query distribution can be obtained through statistical methods. Specifically, the data in the memory is evenly divided into several segments, and the query distribution and data distribution in...