Skip to main content
Upcoming Webinar:

Getting Started with OpenObserve.

December 03, 2026.
11:00 AM ET.
Register

M3DB vs GreptimeDB vs OpenObserve: Metrics Benchmark

Prabhat Sharma
Prabhat Sharma.
November 29, 2026.
36 min read.
Don't forget to share!
TwitterLinkedInFacebook

Ready to get started?

Try OpenObserve Cloud today for more efficient and performant observability.

M3DB vs GreptimeDB vs OpenObserve metrics benchmark: query latency, ingest and storage on identical Mac minis

M3DB vs GreptimeDB vs OpenObserve: we sent the same 2.2 billion samples and 1.34 million series to all three, gave each its own identical Mac mini, and ran identical PromQL. OpenObserve v1.2.0 answered all 16 query and window combinations fastest. On the heaviest query, a million-series histogram over 6 hours, it returned in 1.9 seconds; GreptimeDB took 94 seconds and M3DB did not answer within 600 seconds.

TL;DR

  • One dataset, three systems: 2,218,011,632 samples across 1,338,330 series sent to each of M3DB, GreptimeDB and OpenObserve, with the same series count on all three; each running natively on its own M6 Mac mini, 12 cores / 24 GB, internal SSD, no containers and no limits.
  • Fastest in all 16 cells: geomean latency 58 ms for OpenObserve against 4,355 ms for GreptimeDB, or 1.3% of its latency. On the 14 cells M3DB answered, OpenObserve's geomean is 36 ms against M3DB's 4,971 ms, or 0.73%.
  • Same Rust and DataFusion, very different speed: OpenObserve and GreptimeDB are both Rust, both query with Apache Arrow and DataFusion, and both store Parquet. The results are far apart, and the reason is what each builds on top.
  • Million-series histogram, 6h: OpenObserve 1.9s, GreptimeDB 94s; M3DB timed out on every request at 3h and 6h.
  • Ingest: OpenObserve took the backfill in 14m 32s at 2.7 core-seconds per million samples, GreptimeDB in 18m 17s at 3.4, M3DB in 4h 32m at about 52. Once OpenObserve's compaction is counted, it and GreptimeDB spend the same CPU, about 8,200 core-seconds each.
  • Storage: 2.29 GB for OpenObserve, 5.70 GB for M3DB, 8.94 GB for GreptimeDB.
  • Reproducible: the queries, scripts and full report are in the openobserve-metrics-benchmark repository.

Why benchmark M3DB and GreptimeDB?

This is the companion to our Prometheus, Mimir and VictoriaMetrics benchmark. It uses the same dataset, the same four PromQL queries and the same time windows, and puts OpenObserve against two more backends that teams consider when Prometheus alone runs out of room.

M3DB was built at Uber to handle metrics at very high scale and with high performance, and was open-sourced as part of the M3 platform. Its creators went on to found Chronosphere, whose observability platform is built on M3. M3DB is a distributed time-series database used as Prometheus remote storage, with the M3 coordinator in front of it accepting remote write and answering PromQL. GreptimeDB is an open source time-series database that accepts Prometheus remote write into its metric engine and answers both PromQL and SQL.

High cardinality is where metrics backends are tested, and this dataset is built for it: a single histogram with a few labels produces 1,179,360 _bucket series, and the dashboards on top of it run histogram_quantile and rate across all of them. If Prometheus cardinality is already your problem, the useful question is which backend still answers those queries quickly, and what it costs to get the data in.

OpenObserve stores metrics as columnar Parquet with a metrics index alongside and answers PromQL over that data. This round runs OpenObserve v1.2.0, and for the first time it also measures ingest: how long each system takes to accept the data, the CPU it spends, and the memory and disk it needs along the way.

How we ran the benchmark

The query runner, the query set and the measurement scripts live in the benchmark repository; the full results for this round are in RESULTS-m3db-greptimedb.md.

Mac mini · M612 cores · 24 GB · internal SSDfake-webserver v5backfill · 7h at 15s · seed 1remote writeM3DBv1.6.0 · coordinator + etcdquery runnercurl + python, after settlingPromQLMac mini · M612 cores · 24 GB · internal SSDfake-webserver v5backfill · 7h at 15s · seed 1remote writeGreptimeDBv1.3.1 · standalonequery runnercurl + python, after settlingPromQLMac mini · M612 cores · 24 GB · internal SSDfake-webserver v5backfill · 7h at 15s · seed 1remote writeOpenObservev1.2.0 · Parquet + metrics indexquery runnercurl + python, after settlingPromQLeverything over localhost · same seed and flags on every box · native binaries, no containers, no limits

Figure 2 · Each Mac mini generates its own copy of the data and queries its own system over localhost.

Setting. Value.
Hardware. One Mac mini per system: M6, 12 cores / 24 GB, internal SSD, macOS 27.0.
Limits. None. Each system had the whole box: no container, no cgroup. The load generator shared the box during ingest only; nothing else ran during the query passes.
Versions. M3DB v1.6.0 (m3dbnode built from the tag, 4fc419f, with Go 1.27; single node with embedded coordinator and etcd), GreptimeDB v1.3.1 (release binary, standalone), OpenObserve v1.2.0 (release binary, sqlite metadata).
Caches. OpenObserve's result cache off (ZO_RESULT_CACHE_ENABLED=false).
Limits on queries. Raised wherever a system has them; 600s timeout everywhere. GreptimeDB has no series or sample limits to raise.
Data. 7 hours at exactly 15s intervals, 2026-09-28 03:00 to 10:00 UTC.
Windows. 30m, 1h, 3h and 6h, all ending 2026-09-28 10:00 UTC.
Step. 15s for 30m/1h/3h, 30s for 6h.
Runs. 5 per cell after one discarded warm-up, the whole matrix twice back to back; tables report the median of both passes.

How the measurement is taken

  • Queries are issued from the same box, over localhost. The minis are on Wi-Fi only, and their ping jitters 6–97 ms, more than most OpenObserve cells take. So each box generated its own data and ran its own queries. The query runner (curl + python) is idle between requests.
  • Each system has the whole machine. Native binaries, no container and no cgroup, so each system could use all 12 cores and 24 GB. During ingest the load generator used 0.5–0.6 cores and 2.0 GB beside OpenObserve and GreptimeDB; nothing else ran during the query passes.
  • All data is in place before query latency is measured. The backfill finishes, every system finishes its own post-ingest work (flushes, compaction), and only then do queries start. M3DB settled about 15 minutes after the backfill, OpenObserve 19.6 and GreptimeDB 24.4.
  • Resources are sampled throughout. Server and load generator were sampled every 5 seconds (ps RSS and cumulative CPU time); M3DB's ingest every 30 seconds.
  • The slowest cells were run fewer times. M3DB's second pass recorded one run in its 1h, 3h and 6h unfiltered-histogram cells, because each of those requests costs 3.5 to 12 minutes.

Compare the systems with each other, not with the previous round. This is an M6 Mac mini on its internal SSD rather than an EC2 m7gd.4xlarge under a 12 CPU / 24 GB container limit, and OpenObserve v1.2.0 rather than v1.1.1. OpenObserve's unfiltered histogram at 6h takes 1.9s here and 3.7s on EKS.

How the data was generated

The load comes from openobserve/fake-webserver at the v5 commit (0730a5c), built natively and run in backfill mode with the same flags as the previous round: 14 simulated web-server nodes, 7 hours of samples at exactly 15-second spacing, seed 1. Each box ran its own copy against its own system over localhost. With the same seed and flags, every system received the same samples.

The result is 2,218,011,632 samples in 222,369 requests across 1,338,330 series, with 0 retries and 0 rejected samples on any system. Afterwards OpenObserve and GreptimeDB each held exactly that many, counted with SUM(records) over OpenObserve's file_list and count(*) on GreptimeDB's physical table; M3DB accepted exactly that many, by its commitlog_writes_success counter, with no write errors. Series per metric, verified identical on all three with bench/cardinality.sh:.

Metric. Series. Used by.
codelab_api_request_duration_seconds_bucket. 1,179,360. the histogram queries.
codelab_api_request_duration_seconds_count. 45,360. the irate query.
codelab_api_request_duration_seconds_sum. 45,360.
codelab_api_requests_total. 45,360.
codelab_api_request_errors_total. 22,680.
codelab_api_http_requests_in_progress. 210.
Total. 1,338,330.

Configuration for each system

The usual way a vendor benchmark goes wrong is tuning your own tool and running the others near defaults. Here is everything each system ran with beyond its defaults, leaving out listen addresses, data paths, credentials and the Prometheus HA label names; the full launch scripts are in the repository. OpenObserve runs with the same settings as the previous round: the result cache off, raised metrics query limits and a shorter file retention. One setting is new, ZO_INGEST_ALLOWED_UPTO=8760, so that it accepts the two-month-old samples. Compaction is off during the backfill and on afterwards, as in the published procedure:.

ZO_METRICS_MAX_SERIES_RESPONSE=40000
ZO_METRICS_MAX_POINTS_PER_SERIES=10000000
ZO_RESULT_CACHE_ENABLED=false
ZO_METRICS_BLOCKS_CACHE_MAX_SIZE=2048
ZO_MAX_FILE_RETENTION_TIME=60
ZO_COMPACT_DELETE_FILES_DELAY_MINUTES=10
ZO_COMPACT_ENABLED=false        # during the backfill; true afterwards
ZO_INGEST_ALLOWED_UPTO=8760     # hours: accept the 2-month-old samples

M3DB runs as a single node with its coordinator and etcd embedded. Its query limits are raised so the million-series histogram is attempted rather than refused, and both the coordinator's query timeout and the database client's fetch timeout are set to 600s:.

coordinator:
  limits:
    perQuery:
      maxFetchedSeries: 5000000
      maxFetchedDocs: 20000000
  query:
    timeout: 600s
    prometheus:
      maxSamplesPerQuery: 100000000000
db:
  limits:
    maxRecentlyQueriedSeriesBlocks:
      value: 0
      lookback: 15s
  client:
    fetchTimeout: 600s
    writeTimeout: 60s

It has one unaggregated namespace with cold writes on, because the samples are two months old, and 16 shards: 64 shards needed more than the 92,160 open files macOS allows a process.

{"num_shards": 16, "replication_factor": 1}
{"name": "default",
 "options": {"coldWritesEnabled": true,
             "retentionOptions": {"retentionPeriodDuration": "2160h",
                                  "blockSizeDuration": "2h"},
             "indexOptions": {"enabled": true, "blockSizeDuration": "2h"},
             "aggregationOptions": {"aggregations": [{"aggregated": false}]}}}

GreptimeDB runs standalone with its default metric engine for remote write. It has no series or sample limits to raise, so it needs only a longer HTTP timeout and a larger request body limit:.

[http]
timeout = "600s"
body_limit = "512MB"

Query results: four PromQL queries, four time windows

The query set is the one from the previous round, covering four common dashboard query patterns: irate, an unfiltered histogram, a regex-filtered histogram and an equality-filtered histogram, each over 30-minute, 1-hour, 3-hour and 6-hour windows. Tables show the median latency in milliseconds, client-observed wall time, rounded half up. No system restarted during the query passes, and the only errors are M3DB's two timeout cells.

1. irate

sum by (path) (irate(codelab_api_request_duration_seconds_count[1m]))
Window. Step. M3DB. GreptimeDB. OpenObserve.
30m. 15s. 1,362. 75. 11.
1h. 15s. 1,455. 495. 20.
3h. 15s. 2,706. 1,373. 45.
6h. 30s. 4,048. 2,892. 66.

Over 45,360 series this is the lightest query in the set. OpenObserve answers every window in 11 to 66 ms. GreptimeDB's best is 75 ms at 30 minutes and slows as the window grows, to 2,892 ms at 6 hours; M3DB takes 1,362 to 4,048 ms.

2. Unfiltered histogram: the million-series stress test

histogram_quantile(
  0.9,
  sum by(le, path) (
    rate(codelab_api_request_duration_seconds_bucket{}[5m])
  )
)

This query has no label filter at all, so it must run rate and aggregation over all 1,179,360 series. It is the hardest query in the test.

Window. Step. M3DB. GreptimeDB. OpenObserve.
30m. 15s. 74,245. 12,764. 243.
1h. 15s. 219,446. 18,029. 464.
3h. 15s. timeout. 46,980. 1,307.
6h. 30s. timeout. 94,309. 1,926.
1s10s100s600squery timeout30m1h3h6hM3DB · timed outGreptimeDB · 94sOpenObserve · 1.9s

Figure 3 · Unfiltered histogram over 1,179,360 series by window. Log scale: each gridline is 10x. M3DB's crosses mark the 3h and 6h windows, where no request answered within the 600s timeout.

OpenObserve answers the million-series histogram in 243 ms at 30 minutes and 1.9 seconds at 6 hours. GreptimeDB completes every window, in 12,764 ms at 30 minutes and 94 seconds at 6 hours. M3DB needs 74,245 ms at 30 minutes and 219,446 ms at 1 hour.

M3DB did not answer the 3-hour and 6-hour windows at all, even with its query limits raised and both timeouts at 600 seconds. Every recorded request in those two cells failed:.

  • 3h: all returned HTTP 504 "query timed out in expression evaluation" at 600s.
  • 6h: three failed the same way. The other three never answered and were cut off by the client's 700-second limit (CURL_TIMEOUT).

3. Filtered histogram (regex match)

histogram_quantile(
  0.9,
  sum by(le, path) (
    rate(codelab_api_request_duration_seconds_bucket{path=~"/api/bar"}[5m])
  )
)
Window. Step. M3DB. GreptimeDB. OpenObserve.
30m. 15s. 5,203. 4,184. 9.
1h. 15s. 4,627. 4,224. 16.
3h. 15s. 4,617. 4,374. 41.
6h. 30s. 6,774. 4,350. 67.

4. Filtered histogram (equality match)

histogram_quantile(
  0.9,
  sum by(le, path) (
    rate(codelab_api_request_duration_seconds_bucket{path="/api/bar"}[5m])
  )
)
Window. Step. M3DB. GreptimeDB. OpenObserve.
30m. 15s. 1,148. 4,175. 8.
1h. 15s. 1,781. 4,205. 14.
3h. 15s. 2,200. 4,379. 36.
6h. 30s. 4,704. 4,347. 57.

These filtered queries are the "filter by endpoint" panels that fill real dashboards. OpenObserve answers every one of them in 8 to 67 ms. GreptimeDB takes 4,175 to 4,379 ms on every window, the 30-minute one included. M3DB takes 1,148 to 4,704 ms with an equality match and 4,617 to 6,774 ms with a regex.

irate · 6hM3DB4,048 msGreptimeDB2,892 msOpenObserve66 msUnfiltered histogram · 6hM3DBno answer in 600stimed outGreptimeDB94,309 msOpenObserve1,926 msFiltered histogram, regex · 6hM3DB6,774 msGreptimeDB4,350 msOpenObserve67 msFiltered histogram, equality · 6hM3DB4,704 msGreptimeDB4,347 msOpenObserve57 ms

Figure 4 · All four query types over the 6-hour window. Bar lengths to real scale within each panel; M3DB's unfiltered histogram timed out, so it has no bar.

Why GreptimeDB's filtered queries take about 4 seconds

GreptimeDB answers the filtered histograms in about 4.2 seconds whatever the window, so shorter windows do not get much cheaper. Its SST manifest and its query profile (TQL ANALYZE) show why:.

  • File layout: after compaction, 10 of the data region's 16 SST files each span 4.7 to 6.8 of the 7 hours. A 30-minute window cannot skip them by time.
  • The 30m query: it selects 12 files holding 1.89 billion rows (5.9 GB). Its scan spends 54 seconds of CPU across 12 workers to return 3.0 million rows.

How repeatable are these numbers?

Each cell pools two back-to-back passes. OpenObserve's two passes agree to within 6% or 2 ms in every cell, and GreptimeDB's within 4.1%. M3DB varies widely within a cell: its 6h equality median was 2.0 seconds in one pass and 6.7 in the other, and in the second pass its 30m unfiltered runs ranged from 75 to 221 seconds. M3DB's medians are therefore the least precise figures here.

How does OpenObserve compare across all 16 combinations?

OpenObserve is fastest in every one of the 16 query and window cells. The next-fastest system changes from cell to cell: GreptimeDB in most of them, M3DB in three of the equality-filtered ones. So the figure below compares OpenObserve with whichever of the two was faster in each cell:.

30m1h3h6hirate6.8xvs GreptimeDB25xvs GreptimeDB31xvs GreptimeDB44xvs GreptimeDBUnfiltered histogram53xvs GreptimeDB39xvs GreptimeDB36xvs GreptimeDB49xvs GreptimeDBFiltered histogram, regex465xvs GreptimeDB264xvs GreptimeDB107xvs GreptimeDB65xvs GreptimeDBFiltered histogram, equality144xvs M3DB127xvs M3DB61xvs M3DB76xvs GreptimeDBDarker = larger lead. Ratios from the rounded medians in the tables above.

Figure 5 · How many times faster OpenObserve is than the next-fastest system in each cell, and which system that is.

The lead is smallest on irate over short windows, where GreptimeDB is quick too, and largest on the filtered histograms, where OpenObserve answers in milliseconds and both other systems take seconds. Taking the geometric mean gives one number per system. Because M3DB has no result in two cells, the three-way comparison uses the 14 cells every system answered:.

M3DB. GreptimeDB. OpenObserve.
Geomean, 14 cells (both timeout cells excluded). 4,971. 2,950. 36.
Geomean, all 16 cells. n/a (two timeouts). 4,355. 58.
vs OpenObserve, 14 cells. 137x. 82x. 1.00x.

Over all 16 cells, OpenObserve's geomean of 58 ms is 1.3% of GreptimeDB's 4,355 ms. Over the 14 cells M3DB answered, its 36 ms is 0.73% of M3DB's 4,971 ms.

Resource use while querying

How long one full query pass of all 16 cells took, and what the server process used meanwhile:.

System. Pass duration. Server CPU. Average cores in use. Peak memory.
M3DB. 69m (pass 2, single-run wide cells) to 2h 43m (pass 1). ~4,500 core-s (pass 2). 1.1 (peak 10.4). 12.2 GB.
GreptimeDB. 21m. ~2,550 core-s. 2.0 (peak 2.9). 6.3 GB.
OpenObserve. 29s. ~270 core-s. ~9.5 (peak 10.7). 5.5 GB.

OpenObserve spreads a query over most of the 12 cores. GreptimeDB and M3DB use one or two of them on average, so most of the box sits idle while their queries run.

Same Rust, same DataFusion, very different results

It is easy to assume OpenObserve and GreptimeDB should perform about the same. Both are written in Rust. Both execute queries with Apache Arrow and Apache DataFusion, and both keep their data in Parquet files. With the same building blocks, why would one be much faster?

This benchmark says the assumption is wrong. On identical machines with identical data, OpenObserve's geomean is 1.3% of GreptimeDB's. The million-series histogram over 6 hours takes 1.9s against 94s. The filtered histograms take 8 to 67 ms against about 4.2 seconds.

Think of two people who eat exactly the same food. One of them trains in the gym every day, and ends up with much bigger muscles. Rust, Arrow and DataFusion are the food: every system built on them starts from the same ingredients. The training is everything a system builds on top of them, and the OpenObserve team treats performance as that daily discipline. Three measured differences stand out, each a likely contributor:.

  • Data laid out so queries can skip it. OpenObserve keeps each metric in its own stream, partitioned by hour, so a 30-minute query opens only the files for the hour it falls in. GreptimeDB's 30-minute filtered query selected 12 files holding 1.89 billion rows, because after compaction most of its files spanned 4.7 to 6.8 of the 7 hours.
  • An index built for PromQL. Beside the data, OpenObserve keeps a dedicated metrics index (0.673 GB here) for finding the series a PromQL selector asks for.
  • The whole machine at work. During the query passes, OpenObserve averaged about 9.5 of the 12 cores. GreptimeDB averaged 2.0 and M3DB 1.1, so most of their machines sat idle through the passes.

The same ingredients set a floor. How fast a system answers depends on what its team builds on top of them.

How fast does each system ingest the data?

Ingest is the closer race. Each box received the same 2,218,011,632 samples from its own copy of the load generator, with 0 retries and 0 rejected. Durations and rates are the load generator's own; CPU is the server process's, summed over the backfill window.

System. Backfill. Rate. Server CPU. per M samples. Peak memory.
M3DB. 4h 32m 04s. 0.136M samples/s. ≈ 115,000 core-s (7.0 cores). ≈ 52 core-s. 14.4 GB.
GreptimeDB. 18m 17s. 2.02M samples/s. 7,639 core-s (7.0 cores). 3.4 core-s. 3.6 GB.
OpenObserve. 14m 32s. 2.54M samples/s. 6,032 core-s (6.9 cores). 2.7 core-s. 6.1 GB.

OpenObserve accepted the backfill fastest, at 2.54 million samples per second and 2.7 core-seconds per million samples. GreptimeDB was close behind at 2.02 million samples per second and 3.4 core-seconds. Both ran at about 7 cores. The rates are what each system sustained on this load, with the load generator sharing the box, not each system's maximum ingest rate.

M3DB's rate fell during the backfill. It started at about 400k samples/s and spent most of the run between 70k and 200k (median 135k), while its CPU stayed at about 7 cores throughout. Its CPU figure is its cumulative CPU time just after ingest, minus the small amounts spent settling and in the first minutes of queries; it agrees with integrating its 30-second ps readings (114,200 core-s).

Settling after the backfill

Each system then finished its post-ingest work before the first query. Times are measured from the end of the backfill:.

System. Settled after. Server CPU. Peak memory. What it waited for.
M3DB. ~15 min. ≈ 110–230 core-s (estimated from %CPU readings). 17.1 GB. cold-write flush: last busy minute 4 min after the backfill, disk stable from 9 min, then 5 more minutes unchanged.
OpenObserve. 19.6 min. 2,127 core-s. 7.1 GB. file_list full after 2.0 min; compaction switched on, merged 2,153 → 495 files in ~5 min, merged-away inputs deleted after ZO_COMPACT_DELETE_FILES_DELAY_MINUTES=10.
GreptimeDB. 24.4 min. 610 core-s. 5.2 GB. own compaction, a periodic memtable flush 14 min after the backfill, then 10 min idle.

OpenObserve's compaction ran after the backfill, as in the published procedure, while GreptimeDB compacts while data is still arriving. So the fair CPU comparison adds the two tables together:.

System. Total CPU to ingest and settle.
M3DB. about 115,000 core-s.
GreptimeDB. 8,249 core-s.
OpenObserve. 8,159 core-s.

Counted end to end, OpenObserve and GreptimeDB spend the same CPU on ingest, about 8,200 core-seconds each. M3DB spent about 115,000.

How much disk does each system use?

Disk used once each system had settled, from each system's own accounting:.

System. On disk. Of which.
M3DB. 5.70 GB. filesets 5.4 GB, etcd 0.13 GB, index 17 MB; the other 0.15 GB not broken down.
GreptimeDB. 8.94 GB. data region 16 SSTs 7.23 GB, index 2.2 MB, manifests 0.3 MB; the other 1.7 GB of the data directory not broken down.
OpenObserve. 2.29 GB. data 1.540 GB + .midx (metrics index) 0.673 GB, 495 + 495 files; metadata 10 MB; the rest GeoIP data (61 MB).
M3DB11.9 GB at end of backfill5.70 GB settledfilesets 5.4 · etcd, index and otherGreptimeDB12.8 GB at end of backfill8.94 GB settledSST files 7.23 · rest of data directoryOpenObserve25.9 GB at end of backfill2.29 GB settleddata 1.540 · metrics index 0.673

Figure 9 · Disk at the end of the backfill (light) and after settling (solid). OpenObserve's 25.9 GB is uncompacted one-minute files; compaction was off during the backfill.

OpenObserve keeps the 2.22 billion samples in 2.29 GB, including the 0.673 GB metrics index, against 5.70 GB for M3DB and 8.94 GB for GreptimeDB.

OpenObserve's 25.9 GB at the end of the backfill is uncompacted. Compaction was off for the backfill, as in the published procedure, so it held one-minute files. In normal running OpenObserve compacts while data arrives. Peak disk, from the 30-second samples:.

  • OpenObserve: 30.4 GB, during compaction. It held 25.9 GB of one-minute files at the end of the backfill; merging then added the new files before the merged-away inputs were deleted 10 minutes later.
  • GreptimeDB: 16.2 GB, during its post-backfill flush and compaction. Its peak during the backfill itself was 14.8 GB.
  • M3DB: 14.5 GB, during the backfill.

OpenObserve's data is general-purpose columnar Parquet. The same files serve SQL as well as PromQL, can be read by any Parquet-aware tool, and map directly onto object storage, where they typically live in production at a much lower per-GB cost than local disk.

Run the benchmark yourself

We make OpenObserve, so treat these numbers as a vendor benchmark and check them. The openobserve-metrics-benchmark repository has what you need:.

  • bench/: the query runner, the query set and the cardinality check. SYSTEMS_PROFILE=minis selects this round's three systems, each queried on localhost.
  • RESULTS-m3db-greptimedb.md: the full results for this round, including settling, resource use and pass stamps.
  • deploy/minis/: each system's settings and launch script, the backfill command and the resource sampler.

You need one machine per system, ideally identical, with the release binaries of OpenObserve and GreptimeDB, an m3dbnode built from the v1.6.0 tag, and fake-webserver built from its v5 commit. Load each system with deploy/minis/backfill.sh, wait for it to settle, then run this twice back to back on each box, against its own system:.

SYSTEMS_PROFILE=minis SYSTEMS_FILTER=greptimedb \
END_TIME=1790589600 bench/run-benchmark.sh

SYSTEMS_FILTER is m3db, greptimedb or o2-parquet for OpenObserve. M3DB's slowest cells take minutes per request, so its second pass here added SINGLE_RUN_CELLS="histogram-unfiltered:1h histogram-unfiltered:3h histogram-unfiltered:6h". Budget for M3DB: its backfill alone took 4h 32m, and its first query pass 2h 43m. OpenObserve and GreptimeDB each take the backfill in under 20 minutes. If you get different numbers, open an issue on the repo.

More than a metrics database

M3DB stores metrics. GreptimeDB stores metrics, logs and traces in one database, with SQL, PromQL and a dashboard. OpenObserve is a complete, open source (AGPL-3.0) observability platform, and the metrics engine benchmarked here is one part of it:.

  • Metrics with PromQL and SQL: Prometheus remote write and OTLP ingest, PromQL for existing dashboards and SQL for ad-hoc analysis on the same data.
  • Logs, traces and profiles in the same system, with service graph and service catalog built from traces.
  • Frontend monitoring: RUM, session replay and error tracking, plus synthetic browser and protocol checks.
  • AI: AI Assistant, SRE Agent for AI root cause analysis, an MCP server, LLM observability and evaluations, anomaly detection, log patterns and insights.
  • Alerting and reliability: scheduled, real-time, composite and anomaly alerts, incident management, and SLOs with error budgets and burn rate.
  • Dashboards and scheduled reports.
  • Data processing: pipelines, VRL functions, enrichment tables and metrics downsampling.
  • Storage and cost: Parquet on object storage, Bring Your Own Bucket (BYOB), extended retention, and ingest-based pricing with no per-host or per-user fees.
  • Security and governance: multi-tenancy, plus SSO, advanced RBAC, sensitive data redaction, audit trail, cipher keys and federated search in the Enterprise edition (free up to 50 GB/day of ingestion).
  • Compliance: SOC 2 Type II, ISO 27001, and GDPR via the EU region.
  • Open standards: OpenTelemetry-native ingest, PromQL and SQL.

If you run Prometheus on Kubernetes today, sending metrics from kube-prometheus-stack to OpenObserve walks through pointing your existing setup at it, and our Prometheus alternatives guide covers the wider field.

The bottom line

Put the same 2.2 billion samples and 1.34 million series in front of three systems on identical machines, and the results condense to four points:.

  • Fastest everywhere: OpenObserve answers all 16 combinations fastest, with a geomean at 1.3% of GreptimeDB's latency over 16 cells and 0.73% of M3DB's over the 14 cells M3DB answered.
  • At a million series: the unfiltered histogram over 6 hours takes OpenObserve 1.9s and GreptimeDB 94s; M3DB did not answer it within 600 seconds.
  • Ingest: OpenObserve accepts the backfill in 14m 32s, GreptimeDB in 18m 17s and M3DB in 4h 32m; with compaction counted, OpenObserve and GreptimeDB spend the same CPU.
  • Storage: 2.29 GB including the metrics index, against 5.70 GB for M3DB and 8.94 GB for GreptimeDB, in open Parquet that serves SQL and PromQL alike.

For teams whose metrics have crossed a million active series, OpenObserve keeps PromQL dashboards fast without giving up the query language or the remote-write pipeline you already have. For the same dataset against Prometheus, Mimir and VictoriaMetrics, see the companion benchmark; for the logs side, see OpenObserve vs ClickHouse: one billion log records.

Get started with OpenObserve

Frequently Asked Questions

About the Author

Prabhat Sharma

Prabhat Sharma

TwitterLinkedIn

Prabhat Sharma is the founder of OpenObserve, bringing extensive expertise in cloud computing, Kubernetes, and observability. His interests also encompass machine learning, liberal arts, economics, and systems architecture. Outside of work, Prabhat enjoys spending quality time playing with his children.

Follow OpenObserve on Google

Add OpenObserve as a preferred source to see more of our articles in Google Search and Top Stories.

Latest From Our Blogs

View all posts