Skip to content

GreptimeDB vs. InfluxDB

InfluxDB's version history is fragmented — v1, v2, and v3 differ in storage format, query language, and licensing. In TSBS benchmark tests, GreptimeDB writes 2x faster and queries 2-11x faster. It handles 1B+ rows that InfluxDB OSS can't, and offers one consistent API from edge to cloud.

Line protocol wrote it.
TSM compacted it.

InfluxDB is a time-series database developed by InfluxData for monitoring, IoT, and analytics. It evolved through multiple versions: v1/v2 use the TSM storage engine with InfluxQL and Flux query languages, while v3 adopts Apache Parquet and Arrow. v3 Core is released under MIT/Apache 2.0, but v2.x remains under BSL 1.1. The open-source v3 Core build is single-node and optimized for recent data, while clustering, high availability, and unlimited historical retention live in the commercial Enterprise and Cloud tiers. The version fragmentation — different storage formats, query languages, and licensing across major versions — is a key consideration for adopters. Click here to read the full performance comparison report between GreptimeDB and InfluxDB.

CHALLENGER

InfluxDB

Version-fragmented · TSM (v1/v2), Parquet (v3) · Flux deprecated 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 databaseMetrics only (requires separate systems for logs/traces)
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/v2)
Tasks and checks (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)
Cloud-native microservices (v3)
Storage FormatApache Parquet (columnar, compressed)TSM engine (v1/v2)
Apache Parquet (v3)
Storage ScalabilityObject storage integration with unlimited capacityLocal storage (v1/v2)
Object storage support (v3)
High AvailabilityNative clustering with automatic failoverEnterprise clustering (v1/v2)
Native HA (v3)
LicenseApache 2.0MIT/Apache 2.0 (v3 Core)
BSL 1.1 (v2.x)
Commercial (Enterprise/Cloud)
Open-source ScopeFull-featured open source (Apache 2.0) — same engine from single node to clusterv3 Core is single-node, recent-data; clustering, HA, and historical query 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