ailio admin

Storage

Compression ratio 2.8x below the ~9x measured on real payloads
Everything is in Postgres on purpose. That only holds while gzip, content-addressing and the interval model all still work — this page is how you notice one of them stopped.

MetricValueWhy
slot rows187one row per slot, written on arrival and departure — not per poll
slot rows live187vanished_at is null
slot table0 Bpartitioned monthly; expiry is DROP PARTITION, never DELETE
slot_sync table48.0 KBone cursor row per (clinic, service) — what an unchanged pass writes
raw_snapshot rows59content-addressed; a repeat payload bumps a counter instead
raw_snapshot on disk2.0 MBgzipped bytea, storage external
raw_snapshot uncompressed5.5 MBwhat the same payloads would have cost verbatim