Hi,

If a cluster column has the same value over many rows, is the value duplicated in memory?

Suppose we have

  create table t (
    c1 int,
    c2 text,
    c3 int,
    primary key(c1,c2,c3)
  );

and we have N rows with the same value for (c1,c2) and different values for c3. When the rows are loaded into memory cache, is the value of c2 duplicated N times in memory? Or cassandra treat (c1,c2,c3) like a multi-level map and only have 1 copy for the value?

Thanks.

X. F. Li

Reply via email to