VictoriaMetrics
activeby VictoriaMetrics Inc. · since 2018 · also known as VM, VictoriaMetrics Cluster
Resource-frugal, Prometheus-compatible metrics database, run as a single binary or a sharded cluster.
Overview
VictoriaMetrics is a time-series database and monitoring stack built to do more per CPU core and per gigabyte of disk than other Prometheus-ecosystem backends. It ingests Prometheus remote write, InfluxDB line protocol, Graphite, OpenTSDB, Datadog and OpenTelemetry, and answers PromQL plus its superset MetricsQL. The single-node binary covers most teams; the cluster version splits vminsert, vmstorage and vmselect for horizontal scale and multi-tenancy, without needing Kafka or object storage. Enterprise adds downsampling, per-series retention filters and automated backups, and VictoriaMetrics Cloud is the vendor's managed service.
Strengths & trade-offs
Strengths
- +Very low RAM and disk per active series keeps hardware bills small
- +Drop-in Prometheus remote-write target with PromQL-compatible MetricsQL
- +One binary accepts Prometheus, Influx, Graphite, OpenTSDB, Datadog and OTLP ingestion
- +Cluster mode scales on plain disks with no Kafka, ZooKeeper or object-store dependency
- +Apache-2.0 including multi-tenancy in the open-source cluster
Trade-offs
- −No built-in cross-region replication; durability relies on replicationFactor or vmagent dual-writes
- −Downsampling and retention filters are Enterprise-only
- −MetricsQL differs from PromQL in edge cases, which can surprise when switching back
- −Uses block storage rather than object storage, so very long retention costs more than S3-backed systems
Great for
- +Long-term storage for Prometheus metrics
- +Kubernetes monitoring with vmagent and the operator
- +Consolidating Graphite, Influx and Prometheus metrics in one store
- +High-rate IoT telemetry
- +Cutting cost when moving off SaaS metrics
Think twice for
- −Logs (see VictoriaLogs)
- −Transactional data
- −Ad-hoc SQL analytics
Capabilities
Native or official first-party support · 4 of 25 tracked
Scale & consistency
- Comfortable data size
- Large · ≤ 1 PB
- Horizontal scaling
- Native
- Multi-region
- No
- Transactions
- None
- Consistency
- Eventual
- Schema
- Schemaless
- Architecture
- Single node, Distributed, Client server
- Query languages
- MetricsQL, PromQL
Cluster shards series across vmstorage nodes with optional replication; cross-region setups rely on vmagent dual-writes.
Deployment
available on · AWS
Ecosystem
Alternatives to VictoriaMetrics
CNCF-graduated pull-based monitoring system with a local TSDB, PromQL and alerting rules.
victoriametrics vs prometheus →Sidecar-plus-object-storage layer giving Prometheus global queries, HA dedup and long retention.
victoriametrics vs thanos →Grafana Labs' horizontally scalable, multi-tenant long-term store for Prometheus and OTLP metrics.
victoriametrics vs grafana-mimir →Uber-born distributed TSDB and aggregator for Prometheus-scale metrics with tunable replication.
victoriametrics vs m3db →Purpose-built time-series database, rebuilt in Rust on Arrow, DataFusion and Parquet for version 3.
victoriametrics vs influxdb →Rust observability database that keeps metrics, logs and traces in one columnar engine on object storage.
victoriametrics vs greptimedb →VictoriaMetrics FAQ
What is VictoriaMetrics?
VictoriaMetrics is a time-series database by VictoriaMetrics Inc., first released in 2018. VictoriaMetrics is a time-series database and monitoring stack built to do more per CPU core and per gigabyte of disk than other Prometheus-ecosystem backends. It ingests Prometheus remote write, InfluxDB line protocol, Graphite, OpenTSDB, Datadog and OpenTelemetry, and answers PromQL plus its superset MetricsQL. The single-node binary covers most teams; the cluster version splits vminsert, vmstorage and vmselect for horizontal scale and multi-tenancy, without needing Kafka or object storage. Enterprise adds downsampling, per-series retention filters and automated backups, and VictoriaMetrics Cloud is the vendor's managed service.
Is VictoriaMetrics open source?
Yes. VictoriaMetrics is open source. License: Apache License 2.0.
Does VictoriaMetrics support ACID transactions?
No. VictoriaMetrics does not provide ACID transactions; its consistency model is eventual.
Does VictoriaMetrics scale horizontally?
VictoriaMetrics scales horizontally out of the box, with built-in sharding or partitioning. It is comfortable at large scale (≤ 1 PB).
How can I run VictoriaMetrics?
You can self-host it and use the vendor's managed cloud. Managed offerings include VictoriaMetrics Cloud. It is available on AWS.
What is VictoriaMetrics best for?
VictoriaMetrics is a strong fit for long-term storage for Prometheus metrics; kubernetes monitoring with vmagent and the operator; and consolidating Graphite, Influx and Prometheus metrics in one store. Think twice for logs (see VictoriaLogs).
What are the best alternatives to VictoriaMetrics?
Common alternatives to VictoriaMetrics include Prometheus, Thanos, Grafana Mimir, M3DB and InfluxDB. The right choice depends on your workload, scale and hosting; WhichDB's smart match ranks them against your requirements.
How popular is VictoriaMetrics?
VictoriaMetrics ranks #109 of 844 databases on the WhichDB Score (26.8/100), and #7 among time-series databases. The score combines public adoption signals such as package downloads, GitHub activity, job posts and developer discussion.
