Hello everyone, I have been working with some time series databases, seeing which one fits with the use case we need to implement. In this moment we are focusing in tables compression. I have a lot of things I would like to better understand for configuring and using compression on Cassandra tables, specifically from the point of view of the tables that KairosDB uses and creates on start.
[firs question here:]
What I have found so far is that Cassandra has a lot of possible mechanism for tables compression, and the default one is LZ2. When KairosDB creates the tables, these tables are created with the compression LZ2 as we can find out using cqlsh on our Cassandra cluster and executing `DESCRIBE SCHEMA`. What I can't figure out is, in case we would want to use a different compression mechanism, how would we do it without modifying the source code of KairosDB? Is there a direct way to tell KairosDB to create the tables on Cassandra with another compression mechanism? I want to know this because using `ALTER TABLE` with cqlsh would not be an ideal solution, given that we are deploying our Cassandra and KairosDB cluster with k8s.
[second question here]
Another question I have (and this is from my experience working with SQL databases) is that the tables are compressed for a given condition in our experience working with TimescaleDB (which uses PostgreSQL as its backend), that means, the compression would have a condition similar to this: If the timestamp is older than a week from now, compress it. In the case of the tables that KairosDB uses on Cassandra, how does it work? What is the default condition for compressing the tables? Is it possible to modify that condition?
Thanks in advance for any help! Rosita.-