baseshift
An experimental compression technology that retains 8KB block reads while compressing PostgreSQL data.
What does it do?
Baseshift creates database snapshots for developers and agents, usually output as Docker images. During this process, DC1 chooses the codec that encodes each block most compactly. In the provided example of a US OpenStreetMap database, 242GB was reduced to about 28.7GB, with an average block decoding time of about 0.18ms on a single CPU core. It is currently presented as a research preview, with a Docker image available for testing.
Key features
- Compresses database data while allowing individual 8KB blocks to be read.
- Selects the codec that produces the smallest encoding for each block.
- Applies a compression layer without modifying the PostgreSQL binary.
- Can be tested using the research preview Docker image.