Retrospective — this pile of articles and the thread through them

These are separate articles (one page each · a Chinese and an English version). not one long article. this one is the map: it links to every one of them and says what thread runs through them. and there will be more retrospectives later (when v0.10.0 or v1.0.0 ships, say). quoting the design principles listed here

What each one is: a key detail — essentially a design and experiment report. one decision · its mechanism · the measured numbers · the loss

And the division of the work (the owner, 2026-12-05). the blog holds the experiment reports (this pile). the principles are explained in docs/ (later). so the six design principles below are what goes to docs/. the retrospectives quote them; the documentation unfolds them

The thread: three goals, four priorities

The three goals (the owner's own words):

  1. Storage taken as far as it goes — so that a small VPS's disk can sit

there for years without the service stopping for lack of disk

  1. Query speed taken as far as it goes — so that the VPS never takes so

long to answer that a fetch times out and the data comes back incomplete

  1. Peace of mind — backups and rotation

The four directions are priorities for designing and measuring (the owner's correction, 2026-12-05: not a table of what beats what). storage → memory must not explode → write speed → query speed

With those three goals as the axis, we have been optimizing from 0.1.0 onwards. and at the end, on the same dataset · the same collection level: what we are against umami · what we reach against plausible / ClickHouse

The articles

#articlewhat it answers
01What a sort key is worthWe lost to ClickHouse on disk, and the cause was not the engine — it was the key — and the same key is worth 8.5% in Parquet and 1.6% in DuckDB's own storage; plus: a quarter of the hot tier's blocks are dead, and the cold tier's trade (58% less storage, 2.5× slower queries)
02DuckDB's compression knobsA per-column method never beat the engine's own choice (all 51 columns) — and the unit of a timestamp is the lever (truncating the values saves nothing)
03DuckDB against PostgreSQLThe engine is worth more than the tuning: 67× smaller than umami, 22× smaller than our own PostgreSQL backend
04Version by versionEach release moved one thing, measured it first, and wrote down the loss too — v0.5's trade → v0.6's ids (the row −63%) → v0.7's properties (−97.3%) → v0.8's key → v0.9's indexes
05After the migrationThree levers decide what a migrated database weighs: the shape +165 MB · the ids −217 MB · the row order −130 MB
06Where the properties liveFour stories inside one decision: the EAV table · why the wide table is a map · why three types of map · the 0–3 bit of has-props and the mask we keep empty
07Why four backendsFour backends is not a menu: two core lines (the move is a change of backend, not a rewrite) + two accommodations (PG 21.9× · SQLite's reads 15× slower)
08SQLite writes fast and uses less memory — and we still gave up the sumimi-lite planThe report of that experiment: three numbers · the mechanism (the export is the checkpoint) · the two reasons it was dropped · and it became the cold tier

Not written yet (the list is in our issue tracker): write speed (batch commits · sorting moved later) · query acceleration (v0.9.0's key: external indexes) · the milestone summary (when v0.9.x has matured) · separating the collector from the analyser (the possibility we kept room for)

The rules these articles keep

  1. Everything is measured before it is built. **what we cannot measure,

we do not build**

  1. The losses go in too. v0.7's property filter (0.6 → 6.5 ms) · the

cold tier's trade (storage for query time). a version that only lists its wins is not a measurement

  1. Sizes are not comparable across versions. each version compares

only its own before and after

  1. One thing per article. one decision, one story. **which is

why they are separate articles**

  1. Before publishing, the facts are checked again. **what the code

looks like now · the numbers in the issue · and anything that has drifted is marked. we have built a lot of things, and some of it has drifted. these articles are the layer that pins the cognition down. not marketing**

The design principles they share (for the later retrospectives to quote)

the principlewhere it comes from
①Order is the lever on compression — related things are densely packed, so a key is the cheapest thing in a database to change01
②The storage does not bend to the analysis demands — because the analysis demands diverge. serve them with indexes (an index sits beside the data; it does not change the data)04
③The shape is written once — every engine fills in its own spelling. so the migration is a change of backend, not a rewrite06 · 07
④The columnar's dividend comes from append-only data. and we pay for the flexibility we do not use07
⑤The storage problem can be solved by Parquet-ifying it — the hot copy is temporary. and the sorting happens later, when the cold tier is built08 · 01
⑥The unit of a timestamp is the lever; the precision of its values is not02

Those six are what this pile of articles argues. so the later retrospectives quote them instead of retelling every story. and they are the skeleton of the principle pages in docs/

The rules about the numbers (every article obeys them)

  • Each article's numbers were measured in its own round. sizes are not comparable across articles. and every article carries its own "the boundaries of these numbers"
  • The tools are private (our rule: the benchmark code stays private; the result does not have to). the results and the raw output are in the public repository's benchmarks
  • The scoreboard is in the scoreboard. every number these articles quote can be checked there

Sumimi / 数咪咪 is an independent open-source project. It is an open-source alternative to Umami and implements the Umami v2 HTTP API; no Umami assets are used. Licensed under the Apache-2.0 licence. Third-party names are referenced nominatively.