Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing self-adaptive vertical divided relational database and system thereof

A relational and database technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems affecting performance, affecting read operation performance, not considering table data partitioning and distribution processing, etc., to improve scalability performance, speed up reading and record reconstruction, and achieve parallel query processing effects

Active Publication Date: 2012-11-14
TSINGHUA UNIV +1
View PDF1 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method has three problems. The first problem is that all columns are stored separately. Although all column values ​​​​can be sorted and indexed, it will affect performance when reconstructing records; the second problem is the storage of value data blocks. Although the serial number can alleviate the update problem of the column storage, it affects the performance of the read operation. Since only the serial number of the value data block is stored, a binary search is required when querying the column value; the third problem is that the table is not considered Data partitioning and distributed processing affect the parallel query capability and scalability of the system

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
  • Method for realizing self-adaptive vertical divided relational database and system thereof
  • Method for realizing self-adaptive vertical divided relational database and system thereof
  • Method for realizing self-adaptive vertical divided relational database and system thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The specific implementation manners of the present invention will be described in further detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0039] In view of the shortcomings of existing columnar database technology, this method proposes a dynamic vertical partitioning method to logically partition related columns together, which can speed up the reconstruction of records. For the problem of read operation performance, this method proposes an optimized connection structure for reading, that is, when the connection data is established for the vertically divided related columns, the position of the column value sorted in the value data block is directly stored, so that when reading the column value Rapid positioning. Due to the vertical division of data, adaptive data partitioning (or simply called partitioning) a...

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 method for realizing a self-adaptive vertical divided relational database, belonging to the field of a relational database, comprising the following steps of: S1, for a list, continuously collecting and counting correlation column occurring times related by user inquiring based on a column storage structure, calculating thresholds of the correlation column occurring times based on the historic data in the predetermined time window, educing the correlation columns greater than the thresholds for vertically dividing and obtaining the vertically divided correlation column sets; S2, creating the connection data based on the vertically divided correlation column sets; and S3, based on the vertically divided correlation column sets, adopting a predetermined policy for distributing different correlation columns of the list to different segments to realize parallel execution of inquiry. The invention can improve the rationality of the storage structure and realize parallel inquiry and improve the expandability.

Description

technical field [0001] The invention relates to the field of relational databases, in particular to a method and system for realizing self-adaptive vertically partitioned relational databases. Background technique [0002] Traditional relational database systems are based on row storage, and the recorded data is stored in the same data block. This method is very suitable for read and write operations and meets the application scenarios with frequent short transactions. The disadvantage is that additional columns may be read, complex queries are slow, indexing costs are high, system maintenance is complex, and continuous system optimization is required. The characteristic of the database system based on column storage (referred to as column database) is to store the columns of records separately, and then use the connection data to reconstruct the records. The design of column storage brings many advantages, such as data compression and index optimization processing for data...

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 Patents(China)
IPC IPC(8): G06F17/30
Inventor 曾春邢春晓张勇李超白立宏李毅
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products