Infrastructure & Operations · Databases
GreptimeDB
A columnar observability database for metrics, logs, and traces
GreptimeDB is an Apache-2.0 observability database for metrics, logs, and traces, aimed at teams that want SQL and PromQL over one columnar engine. It supports self-hosted deployment on object storage, while GreptimeCloud provides managed serverless and dedicated plans. Selected enterprise capabilities use a separate commercial license.
Key facts
- License
- Apache-2.0 core; GreptimeDB Enterprise License for gated features
- Main language
- Rust, Python, TypeScript, Shell
- Maintainer
- GreptimeTeam
- Latest release
- v1.3.0-beta.2, October 15, 2026
- GitHub stars
- 6.75k, October 2026
- Hosted option
- GreptimeCloud, serverless and dedicated plans; Enterprise from $290/month
What GreptimeDB is
GreptimeDB is an open-source observability database for metrics, logs, and traces, using one columnar engine over object storage. The repository was created in April 2022 and lists 6,750 stars. GreptimeTeam maintains the project, whose language mix is led by Rust and includes Python, TypeScript, shell, and configuration tooling. A shared table model organizes tags, timestamps, and fields, enabling related signals to be correlated with SQL. The README describes production use at OceanBase Cloud, where more than 80 clusters manage 300 TB of logs. In 2022, Greptime announced a multi-million-dollar angel round led by Glory Ventures, with Unity Ventures as co-investor. These details position the project as both community software and a commercially supported database.
How it works
Telemetry can enter GreptimeDB through OpenTelemetry, Prometheus Remote Write, Loki Push, Elasticsearch Bulk, InfluxDB line protocol, or gRPC. Operators can query metrics with PromQL, use SQL across metrics, logs, and traces, and connect through MySQL or PostgreSQL wire protocols. Jaeger-compatible trace queries support trace exploration. Retention policies, downsampling, continuous aggregation, partitioning, and inverted, skipping, and full-text indexes address query cost and cardinality. The common table model avoids requiring a separate system for every signal. Existing collectors can move one ingestion path at a time, allowing an observability pipeline to change incrementally rather than requiring a complete redesign. This supports mixed migration and shared signal analysis.
Architecture and recent releases
GreptimeDB is written primarily in Rust and separates compute from storage. S3, Google Cloud Storage, Azure Blob, and compatible object stores hold primary data, while memory and local-disk caches serve recent or frequently queried data. The project supports standalone and distributed cluster deployment, with Kubernetes operator and Helm paths. Release v1.3.0-beta.2 arrived October 15, 2026, enabling distributed write retries by default, adding route refresh behavior, and updating Signals Explore in the dashboard. It also included fixes for query results and writes that could be lost or hidden. Enterprise deployments can add PostgreSQL, MySQL, or ETCD metadata storage, Kafka remote WAL, and MinIO object storage.
License and pricing
The core uses Apache License 2.0, permitting commercial use, modification, and redistribution under its conditions. GreptimeDB is open-core: selected enterprise features are gated behind the enterprise Cargo feature and use a separate GreptimeDB Enterprise License. Greptime’s pricing page lists the open-source core as free to run in an organization’s environment. GreptimeCloud offers managed serverless and dedicated plans, with pricing based on capacity or dedicated compute and storage. The public pricing page advertises an enterprise offering from $290 monthly. Enterprise deployments and larger configurations use custom pricing, support, and SLA arrangements. The licensing and commercial structure therefore distinguishes the freely available core from separately licensed capabilities and hosted service options.
Limitations and how it compares
GreptimeDB reduces the number of observability stores, but it still requires careful schema, retention, object-storage, and cluster planning. Prometheus users should compare it with VictoriaMetrics and Mimir, while log-heavy teams may prefer Grafana Loki or ClickHouse. TimescaleDB remains attractive when PostgreSQL compatibility and relational tooling dominate. GreptimeDB’s distinguishing advantage is a single columnar engine with SQL, PromQL, and multi-protocol ingestion across signals. It fits situations where object-storage economics, high-cardinality observability, and correlated metrics, logs, and traces matter more than an established single-signal toolchain. The choice therefore depends on whether unified signal handling outweighs the operational familiarity and specialized strengths of alternative databases.
Main features
- Unified observability. Metrics, logs, and traces share one columnar engine and table model instead of separate signal databases.
- Object storage. S3, GCS, Azure Blob, and compatible endpoints provide primary storage with memory and local-disk caches.
- Multi-protocol ingestion. OpenTelemetry, Prometheus Remote Write, Loki Push, Elasticsearch Bulk, InfluxDB, and gRPC are supported.
- SQL and PromQL. Teams query observability signals with SQL and use PromQL for metric workloads.
- High-cardinality indexes. Inverted, skipping, and full-text indexes support queries across large and high-cardinality datasets.
- Kubernetes operation. The GreptimeDB Operator and Helm charts support standalone and distributed Kubernetes deployment.
Self-hosting GreptimeDB
A local trial can use the Docker image or a downloaded binary, with persistent storage mounted for standalone data. The service exposes HTTP, gRPC, MySQL, and PostgreSQL interfaces. Production Kubernetes deployments use Helm and the GreptimeDB Operator, with Kubernetes 1.18 or newer, kubectl, and Helm 3 or newer documented as prerequisites. Distributed deployments require object storage and metadata services, commonly PostgreSQL, MySQL, or ETCD. Kafka remote WAL and MinIO are supported options. The documented operator example requests 2 CPUs and 4 GiB, with limits of 4 CPUs and 8 GiB. Back up object storage and metadata together before upgrades.
Strengths
- Apache-2.0 core permits commercial redistribution under familiar permissive terms.
- One engine correlates metrics, logs, and traces through SQL.
- Object storage separates durable data from compute and cache resources.
- OpenTelemetry, PromQL, SQL, and multiple protocols support gradual migration.
Drawbacks
- Enterprise capabilities use a separate license from the Apache-2.0 core.
- Distributed production deployment requires object storage and metadata planning.
- The latest listed 1.3 release was still a beta.
What teams replace with it
Teams usually evaluate GreptimeDB when they want to move off Datadog, Elastic Observability, Grafana Cloud.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to GreptimeDB
- VictoriaMetrics
- Grafana Loki
- ClickHouse
- TimescaleDB
- Apache Doris
Frequently asked questions
Is GreptimeDB free?
The GreptimeDB core is Apache-2.0 and free to run in your own environment. GreptimeCloud is a managed service with serverless and dedicated billing. Selected enterprise capabilities are separate from the open-source core and may require commercial terms. The public pricing page lists enterprise plans from $290 monthly.
Can I use GreptimeDB commercially?
Yes. Apache-2.0 covers the core and permits commercial use, modification, and redistribution subject to its notices and license conditions. Some enterprise features are gated behind the enterprise Cargo feature and governed by the separate GreptimeDB Enterprise License. Commercial operators should identify which enterprise capabilities they enable.
How do I self-host GreptimeDB?
Docker or a downloaded binary suits a standalone trial. Production clusters use Helm and the GreptimeDB Kubernetes Operator. Cluster deployments need object storage and a metadata store such as PostgreSQL, MySQL, or ETCD. Documented operator prerequisites include Kubernetes 1.18 or newer, kubectl, and Helm 3 or newer.
How does GreptimeDB compare with VictoriaMetrics?
VictoriaMetrics focuses on Prometheus-compatible metrics, while GreptimeDB combines metrics, logs, and traces in one columnar engine. GreptimeDB adds SQL across signals, object-storage primary data, and ingestion paths including OpenTelemetry and Loki Push. VictoriaMetrics may suit teams operating a metrics-only installation.
Is data private in GreptimeDB?
Self-hosted GreptimeDB keeps telemetry in infrastructure controlled by the operator, including configured object storage and metadata services. GreptimeCloud provides managed deployment and plan-specific controls. Operators should configure network binding carefully, because publicly exposed service addresses can expose telemetry and administrative interfaces.
Similar projects to compare
- VictoriaMetricsApache-2.0VictoriaMetrics is a Go-based time-series database and monitoring stack for teams collecting Prometheus-compatible metrics at scale. The community core uses Apache-2.0, while VictoriaMetrics Inc sells enterprise features and support. VictoriaMetrics Cloud is hosted, with pricing starting at approximately $190 to $200 per month for the smallest documented tier.
- Grafana LokiAGPL-3.0-only, with Apache-2.0 exceptions documented in LICENSING.mdGrafana Loki is a horizontally scalable, multi-tenant log aggregation system for teams using Grafana and Prometheus-style labels. It is licensed under AGPL-3.0-only with Apache-2.0 exceptions documented in LICENSING.md. Grafana Cloud Logs provides a hosted option with a free allowance and usage-based paid plans.
- ClickHouseApache-2.0ClickHouse is an Apache 2.0 licensed, column-oriented SQL database for real-time analytics. Created at Yandex and open sourced in 2016, it uses compressed columnar storage, vectorized execution, and MergeTree engines for large analytical workloads. Users can run local or distributed clusters with Docker or Kubernetes, or choose ClickHouse Cloud, a managed service with usage-based pricing.
- TimescaleDbApache-2.0 and Timescale License (TSL)TimescaleDB is a PostgreSQL extension for time-series, event, and real-time analytical workloads, maintained by Tiger Data, formerly Timescale. Its code is split between Apache-2.0 and Timescale License components. Tiger Cloud provides managed hosting from $30 per month, while self-hosted use remains available under the applicable licenses.
- ActiveloopApache-2.0Activeloop Deep Lake is an Apache-2.0 multimodal AI data runtime, database, and vector store for teams building retrieval and training systems around text, images, audio, video, metadata, and embeddings. The Python-centered open-source package supports local and customer-cloud storage, while Activeloop offers hosted storage, a managed tensor database, Knowledge Agents, and enterprise deployment options.
- Apache DruidApache-2.0Apache Druid is an Apache-licensed real-time analytics database for event-oriented data, fast aggregations, and highly concurrent applications. It suits teams building analytical applications, operational dashboards, and APIs over streaming or batch data. Teams can self-host it, while Imply Polaris offers managed Druid service from $100 per month plus usage charges.