semantic-sql currently uses simple gzip compression. This is generally OK: it's universally recognized, most environments have the tools to decompress it, and provides a good lossless compression ratio.
For sqlite in particular, an alternative compression strategy like sqlite-zstd can provide similar compression ratios or better while supporting the usual CRUD operations without needing to decompress the whole database file.
See https://crates.io/crates/sqlite-zstd
semantic-sql currently uses simple gzip compression. This is generally OK: it's universally recognized, most environments have the tools to decompress it, and provides a good lossless compression ratio.
For sqlite in particular, an alternative compression strategy like
sqlite-zstdcan provide similar compression ratios or better while supporting the usual CRUD operations without needing to decompress the whole database file.See https://crates.io/crates/sqlite-zstd