Database Performance

openGeminiAbout 2 minAbout 502 words

openGemini is an open source time series database system, and it is the common wish of the majority of developers that the community will develop better and better. As one of the most critical indicators of the database, performance largely determines how far the community can go in the future. On the other hand, databases have become an important part of enterprise information construction, and database performance is one of the key factors in enterprise information construction. The performance of the database directly affects the business processes and efficiency of the enterprise. Therefore, optimizing the performance of the database is very important. Because of this, the community has always regarded performance optimization as a long-term task for the community.

Testing Scenarios

ItemDescription
Test ToolTSBS (https://github.com/timescale/tsbsopen in new window)
Test Casedevops
Data Model1 DB,1 measurement,10 tags,10 fields
Data Size300,000 time series; 2.592 billion points, original data size (gzip compression) 88G
Stand-alone or Cluster
Machine Specifications32U128G

Format use "InfluxDB", and other tools also use tsbs_load_influx,tsbs_run_queries_influx etc.

Write Performance

DatabaseConcurrenciesWriting Speed(rows/sec)Disk Data Size
openGemini v1.1.0-rc132392,915.4515GB
InfluxDB 2.x (OSS)3287,196.6314GB
Other TSDB(OSS)32361,871.2520GB

1 row = 10tag + 10field 1 row = 10 metrics

Comparison by Self

CasesConcurrenciesv1.1.0-rc1(Average Delay,unit:ms)v1.0.1 (Average Delay,unit:ms)
single-groupby-1-1-12327.1717.07
single-groupby-1-1-1323.126.67
single-groupby-1-8-1327.313.35
single-groupby-5-1-123213.3536.37
single-groupby-5-1-1324.5512.41
single-groupby-5-8-13210.123.01
cpu-max-all-1326.8919.54
cpu-max-all-83216.8840.01
double-groupby-1824,71930,408.05
double-groupby-5851,478.4367,023.02
double-groupby-all877,594.5285,673.76
lastpoint854,672.3564,107.8
groupby-orderby-limit29,225.74116,212.15
high-cpu-13219.9937.65
high-cpu-all135,201.1109,319.78

Comparison by Other TSDB

CasesConcurrenciesopenGemini v1.1.0-rc1InfluxDB 2.x OSSOthers TSDB(OSS)
single-groupby-1-1-12327.1724.8914.18
single-groupby-1-1-1323.124.2810.72
single-groupby-1-8-1327.312.1780.05
single-groupby-5-1-123213.35101.6319.75
single-groupby-5-1-1324.5512.0413.67
single-groupby-5-8-13210.148.6109.96
cpu-max-all-1326.8913.8617.84
cpu-max-all-83216.8891.8213.23
double-groupby-1824,719243,356.06141,016.09
double-groupby-5851,478.43122,317.54205,317.78
double-groupby-all877,594.52OOM>5min
lastpoint854,672.35OOM826,563.36
groupby-orderby-limit29,225.74OOM503,419.97
high-cpu-13219.9923.4119.78
high-cpu-all135,201.1OOM查询失败