I have a table t1 which gives me a Compression Ratio of 0.25:
CREATE TABLE t1(
id varchar,
c2 text,
c3 float,
c4 float,
c5 float,
c6 text,
c7 text,
c8 text,
PRIMARY KEY ((id),c2, c3, c4, c5, c6, c7, c8)
);
and an almost identical table t2 which gives me a Compression Ratio of 0.65:
CREATE TABLE t2(
id varchar,
extraid varchar,
c2 text,
c3 float,
c4 float,
c5 float,
c6 text,
c7 text,
c8 text,
PRIMARY KEY ((id),extraid)
);
As you can I am only replacing the 7 clustering columns in the Primary Key with 1 column! This changes the compression ratio from 0.25 to 0.65. Any idea why this could be happening?