cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Borg Salling <>
Subject Does DateTieredCompactionStrategy work with a compound clustering key?
Date Tue, 03 Mar 2015 09:17:47 GMT
Does DateTieredCompactionStrategy in Apache Cassandra 2.1.2. work with a
compound clustering key?

More specifically would it work for a table like this where (timestamp,
hash) makes up a compound clustering key:

CREATE TABLE sensordata (
    timeblock int,
    timestamp timestamp,
    hash int,
    data blob,
    PRIMARY KEY (timeblock, timestamp, hash)

I believe, that the DateTieredCompactionStrategy would work for PRIMARY KEY
(timeblock, timestamp) -- but does it also work for PRIMARY KEY (timeblock,
timestamp, hash) ?

Thanks in advance for any input,

View raw message