Novel DB compression models in Libc – Dockerized NY OpenStreetMap 9:1
Hey HN! I'm the cofounder and CEO at Baseshift, where we create branchable DB snapshots using a bespoke libc for databases. We use this infra to research novel lossless compression codecs of database pages, includin…
Hey HN! I'm the cofounder and CEO at Baseshift, where we create branchable DB snapshots using a bespoke libc for databases. We use this infra to research novel lossless compression codecs of database pages, including neural models. We're sharing some recent results. You can download pre-built, dockerized US & NY OpenStreetMap PostgreSQL with compression ratios of 8.5 and 8.94 respectively. The data in the images remains compressed while in use, and allows for 8KB random read access, for example: # downloads about 1.55 GB docker run -d -p 127.0.0.1:5432:5432 baseshift/db-osm-ny psql -h 127.0.0.1 -U postgres -d osm_new_york_261024 You can download the whole US OpenStreetMap with baseshift/db-osm-us (240GB -> 28GB). There's also a variety of synthetic/generated databases with varying sizes: Nick's Gaming Emporium, https://nge-data.com/ at baseshift/db-nge-[tiny|small|medium] For US/NY we've surpassed zpaq -m5 on whole database files, while maintaining 8kb random reads and <1.5ms decode times on a single CPU core with standard C. Our codecs are designed to leverage parallel compute optimizations in the CPU when they're available. For example, with AVX-512 VNNI our single core decode times reduce from ~1.4ms to ~180us. We will be uploading the remaining ~190 OSM countries and 53 US states/territories in the coming days. I plan on posting a proper paper to arXiv in the coming weeks, but would be great to get the community's thoughts. Edit: fixed whitespace
Discuss this product