VictoriaMetrics

active

by 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.

time-seriesdatabase engineopen source (permissive)mature

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

✓TTL / expiry
✓Durable persistence
✓Compression
✓Streaming ingest
–Transactions
–Joins
–Secondary indexes
–Full-text search
–Vector search
–Geospatial
–JSON
–Change data capture
–Triggers
–Stored procedures
–Materialized views
–Pub/Sub
–Columnar storage
–In-memory
–Encryption at rest
–Role-based access
–Time travel
–Branching
–Online schema changes
–Offline sync
–Runs in WebAssembly

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

Self-hosted Vendor-managed cloud Serverless Embedded Edge Kubernetes operator

available on · AWS

Ecosystem

compatible withPrometheus, InfluxDB, Graphite, OpenTSDB
apis & protocolsPrometheus remote write, Prometheus query API, InfluxDB line protocol, Graphite plaintext, OpenTSDB, OTLP, Datadog API, CSV/JSON import
used byadidas, CERN, Grammarly, Roblox, Spotify, Wix.com, Criteo, Razorpay, Zerodha

Alternatives to VictoriaMetrics

Compare all→
PrometheusTime-Series70.8

CNCF-graduated pull-based monitoring system with a local TSDB, PromQL and alerting rules.

victoriametrics vs prometheus →
ThanosTime-Series13.1

Sidecar-plus-object-storage layer giving Prometheus global queries, HA dedup and long retention.

victoriametrics vs thanos →
Grafana MimirTime-Series15.8

Grafana Labs' horizontally scalable, multi-tenant long-term store for Prometheus and OTLP metrics.

victoriametrics vs grafana-mimir →
M3DBTime-Series4.2

Uber-born distributed TSDB and aggregator for Prometheus-scale metrics with tunable replication.

victoriametrics vs m3db →
InfluxDBTime-Series51.0

Purpose-built time-series database, rebuilt in Rust on Arrow, DataFusion and Parquet for version 3.

victoriametrics vs influxdb →
GreptimeDBTime-Series15.1

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.