Skip to content

The Neighbours

InfluxDB v2 sits in a crowded street. These are the honest comparisons — characterised from the projects' documentation and this series' own guides, not benchmarked in the lab.

Prometheus — the other direction

The closest neighbour and the most different. Prometheus pulls: it visits your programs on a schedule and scrapes their numbers, where InfluxDB mostly receives — programs push points in. Prometheus is monitoring first (alerting is built in, service discovery is a native idea) with a query language, PromQL, tuned for rates and ratios over counters. InfluxDB is a general time-series store: arbitrary measurements, pushed writes, retention per bucket, one scheduler for summaries. Houses with both usually scrape the machines with Prometheus and keep application and sensor series in InfluxDB. This series' Prometheus and Grafana guide is the natural companion read.

The SQL databases you already know

PostgreSQL will store timestamps and numbers perfectly well, and for a hundred readings a day it is the right answer — the one you already have. What InfluxDB adds is shape, not permission: retention that enforces itself, window aggregation as a one-liner, ingestion that expects a firehose. TimescaleDB narrows the gap from the other side — it is PostgreSQL wearing a time-series engine (hypertables, automatic partitioning, continuous aggregates that are tasks by another name) — and for a team already fluent in SQL it is often the honest choice. SQLite, this series' file-that-is-a-database, wins whenever the "stream" is really a notebook: one writer, modest volume, zero servers.

The other time-series stores

VictoriaMetrics and QuestDB are the names most often raised against v2 today: VictoriaMetrics speaks Prometheus's protocols and is admired for frugal storage and easy clustering; QuestDB speaks SQL with time-series extensions and is admired for ingestion speed. Both are described here from their documentation, not run. The fair summary is that v2's remaining home advantage is its ecosystem and its installed base, not a benchmark.

InfluxDB 3 — the successor in the same house

The neighbour that matters most is the landlord's new building. InfluxDB 3 (Core, open source; Enterprise and Cloud around it) is a rewrite on a different engine: data in Parquet files, queried with SQL and InfluxQL, line protocol still accepted at the door. It is where the project's own energy now goes, and new deployments should look at it first. What carries over from this guide: the data model thinking (measurements, tags, fields, retention as design), line protocol itself, and the token discipline. What does not: Flux, the v2 API's shapes, and this guide's commands — v3 has its own CLI and its own setup story. v2 remains supported and widely deployed, which is why this guide exists; but it is a portrait of the generation in place, not the one arriving, and chapter 13 counts that among its limits.

Loki — the cousin for words

Not a competitor: a complement. Loki stores log lines the way InfluxDB stores numbers — labels, ranges, retention — and the two together (numbers in one, words in the other, both browsable from Grafana) are the standard small-observability pairing. This series has a Loki guide.