DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

VictoriaMetrics


VictoriaMetrics is time series database management system that is designed as a storage back-end for Prometheus.

Source Code
https://github.com/VictoriaMetrics/VictoriaMetrics[02]
Developer
Country of Origin
UA
Start Year
2018 [05]
Project Type
Open Source
Written in
Go
License
Apache v2

Database Entry

VictoriaMetrics


VictoriaMetrics is time series database management system that is designed as a storage back-end for Prometheus.

Checkpoints[03]


VictoriaMetrics uses their modified version of LSM tree (Logging Structure Merge Tree). All the tables and indexes on the disk are immutable once created. When it's making the snapshot, they just create the hard link to the immutable files.

Data Model


Foreign Keys


Indexes


Joins


Logging[04]


The author argued that the time series DBMSs don't need strict safety; People can endure losing some recently inserted data. And most of TSDB like InfluxDB allow flushing the data delayed, and people always want to do that.

VictoriaMetrics abandoned the WAL, and keep all the tables on the disk is consistent. So that the crash won't corrupt the data on the disk.

Query Compilation


Stored Procedures


Views


Revision #5