A time series database system based on columnar 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: 2022-07-01
ZHEJIANG BANGSUN TECH CO LTD +1
View PDF13 Cites 0 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 layered 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
  • A time series database system based on columnar storage
  • A time series database system based on columnar storage
  • A time series database system based on columnar storage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] To make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments of the present invention, other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0030] like figure 1 As shown, the present invention provides a time series database system based on columnar storage, including 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 occupation; when exec...

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 series database system based on columnar storage, comprising a SQL parser: converting SQL into an abstract syntax tree through parsing; a logic plan generator: generating a logical query plan by using the abstract syntax tree, and the logical query plan is composed of relational algebra Representation; query optimizer: optimize the query plan by using the state information of the database, and output the rewritten query plan; executor: execute the query plan in a block iterative manner, responsible for interacting with the storage layer and obtaining the data queried by the user; storage engine : Store data in row+column format. The invention uses the column method to store the data in the database, and realizes the characteristics of high-speed data insertion and the index function of the traditional database based on the combination of column storage and rocksdb. In terms of the executor, some operators are improved to deeply combine with the characteristics of the storage engine. , while taking advantage of the new features of modern processors for query acceleration.

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 a variant of LSMtree, TSM. The advantage of LSMtree is that the writing speed is fast, but due to the need for hierarchical search , its read data performance is not ideal. SUMMARY OF THE INVENTION [0003] Considering the characteristics of time series data (multiple writes and multiple reads, but few updates and deletions), the present invention proposes a columnar storage-based storage engine and query executor on the traditional database architecture, which can improve the query efficiency of the database system. [0004] The object of the present invention is to be achiev...

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): 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
Try Eureka
PatSnap group products