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

Time series database system based on column storage

A columnar storage and database technology, applied in the design field of time series database systems, can solve problems such as unsatisfactory data reading performance

Active Publication Date: 2019-10-22
ZHEJIANG BANGSUN TECH CO LTD +1
View PDF13 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, there are several time-series databases on the market, such as influxDB, etc., but most of these databases use LSMtree-based storage solutions. For example, influxDB uses the variant TSM of LSMtree. The advantage of LSMtree is that the writing speed is fast, but due to the hierarchical search , its read data performance is not ideal

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
  • Time series database system based on column storage
  • Time series database system based on column storage
  • Time series database system based on column storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Apparently, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, other embodiments obtained by persons of ordinary skill in the art without making creative efforts all belong to the protection scope of the present invention.

[0030] Such as figure 1 As shown, a columnar storage-based time series database system provided by the present invention includes a client for sending SQL and a database server for executing SQL and transmitting query results to the client; the present invention uses columnar storage for data in the database , which can reduce the storage us...

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 time sequence database system based on column storage. The time sequence database system comprises: an SQL (Structured Query Language) parser, wherein the SQL parser is usedfor converting SQL into an abstract syntax tree through parsing; a logic plan generator which is used for generating a logic query plan by utilizing the abstract syntax tree, wherein the logic query plan is expressed by a relation algebra; a query optimizer which is used for optimizing the query plan by utilizing the state information of the database and outputting the rewritten query plan; an executor which is used for executing the query plan in a block iteration mode and is responsible for interacting with the storage layer to obtain data queried by a user; and a storage engine which is used for storing data in a row and column manner. According to the invention, data in the database is stored in a column mode; based on combination of column storage and rocksdb, high-speed insertion data characteristics and an indexing function of a traditional database are achieved, in the aspect of an executor, part of operators are improved to be deeply combined with characteristics of a storageengine, and meanwhile, new characteristics of a modern processor are used for accelerating query.

Description

technical field [0001] The invention belongs to the field of data storage and processing, and in particular relates to the design of a time series database system based on columnar storage. Background technique [0002] At present, there are several time-series databases on the market, such as influxDB, etc., but most of these databases use LSMtree-based storage solutions. For example, influxDB uses the variant TSM of LSMtree. The advantage of LSMtree is that the writing speed is fast, but due to the hierarchical search , its read data performance is not ideal. Contents of the invention [0003] Considering the characteristics of time series data (many writes, many reads, but few updates and deletions), the present invention proposes a storage engine and a query executor based on columnar storage on the traditional database architecture, which can improve the query efficiency of the database system. [0004] The purpose of the present invention is achieved through the fol...

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/2458
CPCG06F16/2458G06F16/2228
Inventor 黄滔王刚高杨刘国庆
Owner ZHEJIANG BANGSUN TECH CO LTD
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