Time-Series Databases: 6 Options Compared

Our catalog lists six databases whose primary category is time series: InfluxDB, kdb+, Prometheus, QuestDB, TimescaleDB and VictoriaMetrics. They differ most in query language: SQL (InfluxDB 3, QuestDB, TimescaleDB), PromQL or MetricsQL (Prometheus, VictoriaMetrics), and q (kdb+). Five use OSI-approved licenses for their core, while kdb+ is commercial and has a free Community Edition.

Last verified:

How we picked

We included every catalog profile whose primary category is in the time-series group: general-tsdb, metrics-monitoring or sql-time-series. Facts come from each profile's license, license_notes, deployment, wire_compatibility, query_languages and latest_version fields, last verified 2026-12-03. We do not compare ingest or query speed here, because we have no benchmark records for these systems yet. Entries are listed alphabetically by name. The order is not a ranking.

Comparison

DatabaseLicenseOpen sourceDeploymentWire compatibilityQuery languagesWritten inLatest versionReleased
InfluxDBMIT OR Apache-2.0Yesself-hosted, managed, serverlessinfluxdb-line, http-rest, arrow-flightSQL, InfluxQLRust3.12.3
kdb+LicenseRef-ProprietaryNoself-hosted, managedq, SQL5.0.20261023
PrometheusApache-2.0Yesself-hosted, managedhttp-rest, prometheus-remote-writePromQLGo3.16.0
QuestDBApache-2.0Yesself-hosted, managedpostgres, influxdb-line, http-restSQLJava, C++, Rust10.2.0
TimescaleDBApache-2.0Yesself-hosted, managedpostgresSQLC2.32.1
VictoriaMetricsApache-2.0Yesself-hosted, managedprometheus-remote-write, influxdb-line, http-restMetricsQL, PromQLGo1.157.0

Values come from each database's profile; see the profile for its sources and verification date.

The options

  1. InfluxDB

    InfluxDB 3 Core is dual-licensed MIT or Apache-2.0 and was rewritten in Rust on Apache Arrow, DataFusion and Parquet, persisting columnar files to object storage or local disk. It accepts writes in InfluxDB line protocol and is queried with SQL or InfluxQL over HTTP and Arrow Flight. The latest release is 3.12.3 (2026-11-20).

    Best for
    Metrics, events and sensor data, where clients already send line protocol.
    Watch out for
    The profile notes that version 3 does not carry Flux forward as a primary query language, so 2.x users who rely on Flux face a migration. InfluxDB 3 Enterprise and InfluxDB Cloud are commercial.
  2. kdb+

    kdb+ is a commercial columnar, in-memory and on-disk time-series database from KX, queried with q, an array language with SQL-like select syntax. Its profile notes wide use for tick data in capital markets, and KDB-X (version 5.0) adds Python and SQL interfaces and vector search. The latest version is 5.0.20261023 (2026-10-23).

    Best for
    Capital-markets tick capture and analytics, where teams already work in q.
    Watch out for
    It is proprietary; a free KDB-X Community Edition exists, but production use needs a commercial license. Our profile lists no standard wire protocol, so clients use KX's own interfaces.
  3. Prometheus

    Prometheus is Apache-2.0 and scrapes metrics from instrumented targets over HTTP into a local compressed store, with series identified by a metric name plus labels and queried with PromQL. Its remote-write protocol is implemented by many long-term storage backends. The latest release is 3.16.0 (2026-11-05).

    Best for
    Kubernetes and service monitoring with PromQL-based alerting.
    Watch out for
    The profile describes a local time-series store, so long-term retention or a global view across many servers usually means adding a remote-write backend such as VictoriaMetrics.
  4. QuestDB

    QuestDB's open-source engine is Apache-2.0 and stores data in column-oriented, time-partitioned tables queried with SQL extended by SAMPLE BY, LATEST ON and ASOF JOIN. It accepts the Postgres wire protocol, InfluxDB line protocol and HTTP/REST. The latest release is 10.2.0 (2026-11-10).

    Best for
    High-ingest market data, IoT and monitoring workloads where teams want SQL with time-series operators.
    Watch out for
    High availability, RBAC, automated backups and tiered object storage are listed as QuestDB Enterprise features, which are proprietary.
  5. TimescaleDB

    TimescaleDB is a PostgreSQL extension, so applications keep full SQL, joins and the Postgres extension ecosystem, and clients connect over the Postgres wire protocol. Hypertables partition data by time, and compression and continuous aggregates keep large datasets compact. The latest release is 2.32.1 (2026-11-19).

    Best for
    Teams that want time-series features inside an existing PostgreSQL stack.
    Watch out for
    Only the core is Apache-2.0. Compression and continuous aggregates are under the source-available Timescale License, which bars offering TimescaleDB as a hosted database service. The maintainer renamed itself Tiger Data in June 2025.
  6. VictoriaMetrics

    VictoriaMetrics' core single-node and cluster versions are Apache-2.0. It ingests Prometheus remote write, InfluxDB line protocol and other formats, and it is queried with MetricsQL, a superset of PromQL. The latest release is 1.157.0 (2026-11-23), and the project keeps long-term-support lines with at least 12 months of fixes.

    Best for
    Long-term storage behind Prometheus, or a Prometheus-compatible metrics backend that scales from a single binary to a cluster.
    Watch out for
    Enterprise features and binaries are proprietary. Queries that use MetricsQL-only extensions will not run unchanged on plain Prometheus.

FAQ

Which time-series databases use SQL?
InfluxDB 3 (SQL and InfluxQL), QuestDB (SQL with time-series extensions) and TimescaleDB (full PostgreSQL SQL) all use SQL. Prometheus uses PromQL, VictoriaMetrics uses MetricsQL, a PromQL superset, and kdb+ uses q, although KDB-X adds a SQL interface.
Is TimescaleDB fully open source?
Not entirely. The core is under Apache-2.0, but features such as compression and continuous aggregates are in the Community Edition, which uses the source-available Timescale License. That license forbids offering TimescaleDB as a hosted database service.
What can store Prometheus metrics long term?
Prometheus keeps data in a local store and can forward samples through its remote-write protocol. In our catalog, VictoriaMetrics lists Prometheus remote write as an ingest protocol and is built to act as Prometheus long-term storage.
Which time-series databases accept InfluxDB line protocol?
InfluxDB, QuestDB and VictoriaMetrics all list InfluxDB line protocol in their wire_compatibility field. This means many existing line-protocol agents and client libraries can write to any of the three.
Can I use PostgreSQL drivers with a time-series database?
Yes, for TimescaleDB, which runs inside PostgreSQL, and for QuestDB, which implements the Postgres wire protocol. QuestDB has its own SQL dialect, so test which Postgres features and tools you rely on.

Related guides

All guides

Sources

Last verified:

  1. github.com/influxdata/influxdb github.com
  2. code.kx.com/kdb-x/releases/release-notes-latest.html code.kx.com
  3. prometheus.io/docs/introduction/overview prometheus.io
  4. questdb.com/release-notes questdb.com
  5. github.com/timescale/timescaledb/releases github.com
  6. docs.victoriametrics.com/victoriametrics/changelog docs.victoriametrics.com

Found an error? See how to report a correction.