Skip to main content
Every published number has a source file and an answer checked against a known count; losses are published next to wins. The full record is in the findings record.

Against 13 other engines (one AWS machine, 2026-12-05)

The same data and the same 8 queries for Magpie and 13 other engines (SQLite, DuckDB, Tantivy, LanceDB, chDB, ClickHouse, Quickwit, GreptimeDB, Postgres, ParadeDB, Elasticsearch, OpenObserve, Doris), one engine at a time, every answer checked. Each engine ran the best settings its own docs give for its version, with result caches off. Machine: one AWS m7gd.4xlarge (16 vCPU Graviton3, 64 GiB, local NVMe, Linux), nothing else running. Server engines ran in a container with 6 GiB and 8 CPUs each; engines that run inside the app (Magpie, SQLite, DuckDB, Tantivy, LanceDB, chDB) had no cap. Magpie: the default store (pieces off). Data: small (809,982 spans, 1.13 GB of made-up text), real-wildchat (454,445 spans, 0.90 GB of real chats) and heavy (126,502 large spans, 4.76 GB of made-up text that repeats inside a trace). All the tables, every engine and every limit: the results tables. The run: the findings record, F105. Disk (MB = 10^6 bytes, live files of the store at rest; lower is better). Only an exact size counts as a win.
  • OpenObserve gives only an estimate of its live size: ~1,589.4 MB on heavy and ~398.8 MB on real-wildchat, under Magpie’s. On real-wildchat the bytes its disk really allocated (470.3 MB) are also under Magpie’s (523.8 MB): a loss.
  • On heavy, ClickHouse has no result with its best settings (it ran out of memory); its older text index variant needs 1,841.1 MB there (Magpie 12% smaller).
  • Stores with no text index can be smaller: DuckDB as a plain table (450.1 MB on small, 885.8 MB on heavy) and ClickHouse with Mastra’s table (460.6 MB on real-wildchat). They take 0.57 to 89 seconds to find a word.
Load (seconds for the whole file; lower is better). This is Magpie’s clear loss. Magpie loaded with 1 indexing thread (its default), Tantivy with 8, DuckDB with one per core; whether more threads close the gap is not measured. Stores with no text index load faster than Magpie too (DuckDB as a plain table: 6.4 s on small, 1.9 s on real-wildchat, 38.3 s on heavy). Queries (ms, median of 7 warm runs, one query at a time; Magpie against the fastest other engine of that query).
  • p99 (the slowest of the 7 runs) gives the same result in every cell but Q8 on heavy: a tie at 0.30 ms, counted as a loss.
  • With pieces on (option, off by default), Q8 becomes a loss on small (1.3 ms) and on heavy (0.29 ms), and Q4 on heavy takes 1.4 ms; every other result stays.
  • The Q1 and Q3 losses are 0.0025 to 0.023 ms. Tantivy merged to one segment after its load (not its default) is faster than Magpie on Q2 and on Q8 (real-wildchat, heavy).
  • Limits: one machine and one session; the server engines’ times include their network protocol; ClickHouse ran out of its 6 GiB on heavy (no result there); Doris did not stop cleanly, so it never counts; Postgres and ParadeDB cannot load real-wildchat (U+0000 in 4 spans); no query ran on S3; several queries at once were not tested.

One billion spans in one store

1,000,000,000 spans of 1 KB (86.5 million traces) in one store, on one AWS c6gd.8xlarge (32 vCPU Graviton2, 64 GiB, local NVMe). All 17 checked queries were right in all 8 runs. The store took 786 bytes per span on disk (0.79 of the raw text). At 1 billion spans: one whole trace in 7.8 ms, the newest traces in 10.6 ms, and a reopen of the store in under 2 s.
Limits: made-up text, one run, one machine. Big sums are slow at this size: the top 10 users by cost take 19.4 s, and duration percentiles 2.5 s. The load took 14 hours and slowed from 41,000 to 11,000 spans per second as each commit took longer.
Source: the findings record, F106, and the raw files in results/scale-1b-2026-12-05/.

Run it yourself

The harness of the race is in the repo: bench/run-fair.sh. How it runs each engine, the settings of each one with a link to its docs, and how the disk is measured: the fair-run description. The 8 queries: the benchmark spec.