Skip to content

GreptimeDB vs. InfluxDB

In TSBS tests against InfluxDB 3 Core, GreptimeDB ingests 1.49x faster and runs queries up to 54x faster.

Line protocol wrote it.
Three storage formats kept it.

InfluxDB is InfluxData's time-series database. v1 and v2 use the TSM engine with InfluxQL and Flux; v3 is a Rust rewrite queried with SQL and InfluxQL. v3 Core (MIT/Apache 2.0) is single-node on Parquet; v3 Enterprise is commercial, adds clustering, high availability, and long-range queries (a Core query covers about 72 hours by default), and stores new clusters in a proprietary .pt format. Read the full benchmark reports against InfluxDB v2 and InfluxDB 3 Core and Enterprise.

CHALLENGER

InfluxDB

Version-fragmented · TSM (v1/v2), Parquet (v3 Core), .pt (v3 Enterprise) · Flux not supported in v3

VS

GREPTIMEDB

GreptimeDB

Apache 2.0 · open Parquet storage · InfluxDB Line Protocol compatible

Feature comparison
Feature/AspectGreptimeDBInfluxDB
Data ModelMetrics, Logs & Traces in one databaseTime-Series Database
Value ModelMulti-Value (supports complex data structures)Multi-Value (tags and fields)
Multi-model SupportMetrics, Logs & Traces in one databaseNo native log or trace model
Ingestion ProtocolsSQL
gRPC
InfluxDB Line Protocol
Prometheus Remote Storage
OpenTelemetry
Loki Push API
Elasticsearch Bulk API
HTTP API
InfluxDB Line Protocol
HTTP API
Telegraf plugins
Query LanguagesSQL & PromQL (dual interface)InfluxQL & Flux (v1/v2)
SQL & InfluxQL (v3)
Data RetentionFlexible TTL policies with tiered storageRetention policies with automatic deletion
Continuous AggregationBuilt-in SQL aggregation, Pipeline ETL engine & Flow streaming computationContinuous queries (v1)
Flux tasks (v2)
Python Processing Engine (v3)
Use CasesUnified observability, real-time analytics, IoT monitoring, edge computingIoT monitoring, DevOps metrics, application monitoring
ArchitectureCloud-native distributed with compute-storage disaggregationSingle binary (v1/v2, v3 Core/Enterprise)
Distributed (v3 Clustered/Cloud Dedicated)
Storage FormatApache Parquet (columnar, compressed)TSM engine (v1/v2)
Apache Parquet (v3 Core)
Proprietary .pt format (new v3 Enterprise clusters since 3.11)
Storage ScalabilityObject storage integration with unlimited capacityLocal storage (v1/v2)
Object storage support (v3)
High AvailabilityNative clustering with automatic failoverEnterprise clustering (v1)
HA in v3 Enterprise; v3 Core is single-node
LicenseApache 2.0MIT/Apache 2.0 (v3 Core)
MIT (v1/v2 OSS)
Commercial (Enterprise/Cloud)
Open-source ScopeFull-featured open source (Apache 2.0) — same engine from single node to clusterv3 Core is single-node, and a query covers about 72 hours by default; clustering, HA, and long-range queries are in Enterprise/Cloud
Deployment OptionsSingle-node, cluster, Kubernetes-native, edge-to-cloud with unified APISingle binary, containerized, cloud-managed
Version CompatibilityConsistent API from edge to cloud with unified control planeBreaking changes between major versions
Written LanguageRust (memory safety, performance)Go (v1/v2)
Rust (v3)

Migration path - as fast as one week

InfluxDB line protocol compatible - both v1 and v2 write APIs. Dual-write cutover, no big bang.

Read the step-by-step migration guide→

Redirect write requests

Docs

Point InfluxDB v1/v2 write APIs to the GreptimeDB endpoint - same line protocol, only URL, credentials, and database name change.

30 min

Dual write and verify

Send new writes to both systems, compare row counts and key aggregation results, then shift read traffic step by step.

1-2 days

Backfill historical data

Export history as line protocol and batch import through the same write API while live ingestion continues.

1-3 days

Migrate InfluxQL queries and decommission

Rewrite InfluxQL as GreptimeDB SQL - range queries cover the window aggregations, and AI assistants handle most of the rewrite. After validation, stop writing to InfluxDB.

1 Week

Stay in the loop

Join our community