Show HN: Novel DB compression models in Libc – Dockerized NY OpenStreetMap 9:1 b...
Show HN @show
Show HN: Novel DB compression models in Libc – Dockerized NY OpenStreetMap 9:1 baseshift.com · 3 points · 0 comments · HN thread
TL;DR Baseshift announces DC1 (Database Compression V1), a block-level codec for PostgreSQL that stores pages compressed while keeping 8 KB random reads, and releases Dockerized OpenStreetMap databases (New York ~8.9:1, US 240 GB to 28 GB) as a research preview. The story has no comments yet, so there is no community reaction to report.
- DC1 compresses PostgreSQL 8 KB blocks with per-table codecs, including neural codecs that learn each table's structure and store only prediction residuals.
- Reported ratios: US OpenStreetMap 8.4-8.5:1 (240 GB to 28.7 GB), New York 8.94:1; about 6.32:1 average across six databases totaling 610 GB.
- Claimed 57% smaller than Zstandard -3, 48% smaller than Brotli q9, and 38% smaller than Zstandard -19 with trained dictionaries on held-out blocks.
- Mean decode is about 0.18 ms per block on one core with AVX-512 VNNI versus about 1.46 ms with portable C; the authors call this an 8x speedup with no format change.
- Whole-file zpaq -m5 is beaten by about 15% on the US OpenStreetMap database but leads on MusicBrainz and the synthetic benchmark.
- Images are on Docker Hub as baseshift/db-osm-ny and baseshift/db-osm-us; the authors plan a arXiv paper and more countries and states.
Links in the post
- Nick's Gaming Emporium (NGE) sample database: A free, open-source synthetic PostgreSQL and SQL Server sample database simulating a fictional video-game retailer from 1986 to 2016, in four sizes up to about 3 TB.
Discussion No comments have been posted yet, so there is no discussion thread to summarize. The post has 3 points and sits with little attention so far.
#databases #compression #PostgreSQL #OpenStreetMap #neuralCodecs #Docker