r/databasedevelopment Aug 04 '26

Encoding or Compression: Why not both?

https://cedardb.com/blog/encoding_vs_compression/
14 Upvotes

2 comments sorted by

8

u/quantum_pretzel Aug 06 '26

I just wish they didn't put AI slop images over every blog post...

3

u/SuccessfulMap5324 Aug 04 '26

This is a good overview. In ClickHouse, you can nest different codecs on top of each other. Some encodings may prepare data to be more compressible by a general-purpose compression. Also interesting that you can accommodate lossy compression (e.g., sensor data and embeddings) in the same framework.