by nextaccountic · 4y ago · 0 comments
What's the best approach to get excellent compression? Can I exploit this redundancy within the column somehow? I don't even know the right search terms for this.
TimescaleDB compression will work only for integer columns, right? And in any case, this is not a time series.
- Gorilla compression for floats
- Delta-of-delta + Simple-8b with run-length encoding compression for timestamps and other integer-like types
- Whole-row dictionary compression for columns with a few repeating values (+ LZ compression on top)
- LZ-based array compression for all other types
https://www.timescale.com/blog/building-columnar-compression...
So as to your question, just turn on compression; it's very common to see 94-97% reduction in storage.
(Timescale co-founder)