Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Database hierarchical storage optimization method capable of achieving flexible configuration

A layered storage and optimization method technology, applied in the field of database storage, can solve problems such as CPU computing blockage, small capacity, slow random access speed, etc., and achieve the effect of solving IO bottlenecks and improving performance

Active Publication Date: 2016-06-08
北京人大金仓信息技术股份有限公司
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In terms of memory, traditional databases mainly use DRAM memory. Its main problems include: small capacity, unable to cache a large amount of calculation data, thereby limiting the processing power of the CPU; volatile, once the power is turned off, the data cached on DRAM may be lost. , so in order to ensure data reliability, the updated data should be stored in a permanent medium such as a hard disk in a timely manner, which can easily lead to CPU computing being blocked; in other words, the main problems of the current memory are small capacity and volatility
[0010] On the hard disk, traditional databases mainly use HDD hard disks. Its main problem is: although the storage capacity is very large, its IO access speed, especially the random access speed is very slow
[0011] To sum up, in the traditional DRAM and HDD-based method, users cannot design their own data storage solutions, and data storage is automatically realized within the system, that is, permanent data is stored on HDD hard disks, and cached data is stored on DRAM memory
The main disadvantages of this method include: due to the insufficient capacity of DRAM and HDD, it restricts the full use of CPU processing capacity

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
  • Database hierarchical storage optimization method capable of achieving flexible configuration
  • Database hierarchical storage optimization method capable of achieving flexible configuration
  • Database hierarchical storage optimization method capable of achieving flexible configuration

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments. It should be noted that, if there is no conflict, the embodiments of the present invention and various features in the embodiments can be combined with each other, and all are within the protection scope of the present invention.

[0030] NVM technology is a new technology in the current memory field. Compared with DRAM, it not only has a large capacity, but also has non-volatility. Therefore, using this kind of memory can not only increase the storage capacity of DRAM, but also overcome the volatile defects of DRAM. In other words, NVM acts as both a DRAM-like cache device and an HDD-like permanent storage device. However, compared with hard disks, NVM is still very expensive and has a much smaller capacity, so it can only be used as a permanent storage device for key data. Therefore, in practical applications, it can be considered to expand the stora...

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 database hierarchical storage optimization method capable of achieving flexible configuration. The method includes the following steps that an SQL function is provided and the storage management mode of a user is provided, wherein the storage management mode is that a table, an index and a WAL log are flexibly configured according to needs; the storage management mode that the user utilizes the provided SQL function for customizing an own table, an index and a WAL log according to the active degree of application data is provided. The database hierarchical storage optimization method has the advantages that the hierarchical storage idea is adopted for optimizing traditional database storage management, a modified database not only supports NVM, SSD and other novel storage media, but also allows that the user stores the data according to an SQL instruction as needed in a hierarchical mode, in this way, the IO neck problem of a traditional database is effectively solved, and the performance of a whole system is remarkably improved.

Description

technical field [0001] The present invention relates to the technical field of database storage, relates to a database storage optimization method, in particular to a flexible configurable hierarchical database storage optimization method. Background technique [0002] Generally, the use of storage media mainly includes two categories: cache data: cache data for CPU high-speed calculation, such as DRAM; store data: permanently save application data, such as HDD; current mainstream storage media mainly include DRAM, NVM, SSD and HDD, Their characteristics are compared as shown in Table 1 below: [0003] Table 1 Comparison table of characteristics of current mainstream storage media [0004] [0005] Both DRAM and NVM in Table 1 are memory devices, which are expensive, and the access unit is bytes. They are often used to cache data during database operation. The main differences between the two include: DRAM and NVM have fast access speeds, and NVM has Non-volatile, but...

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): G06F17/30
CPCG06F16/217G06F16/22
Inventor 李海华冷建全冯玉
Owner 北京人大金仓信息技术股份有限公司
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
Eureka Blog
Learn More
PatSnap group products