DevTrends开发者趋势
主题色

产品

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…

DT数据与运维DT研究与学习

关于

Hey HN! I&#x27;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&#x27;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&#x2F;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&#x2F;db-osm-us (240GB -> 28GB). There&#x27;s also a variety of synthetic&#x2F;generated databases with varying sizes: Nick&#x27;s Gaming Emporium, https:&#x2F;&#x2F;nge-data.com&#x2F; at baseshift&#x2F;db-nge-[tiny|small|medium] For US&#x2F;NY we&#x27;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&#x27;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&#x2F;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&#x27;s thoughts. Edit: fixed whitespace

收录记录

  1. Show HN

    2026年11月25日 · 1 次收录

讨论这个产品