cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DuyHai Doan <>
Subject Delete By Partition Key Implementation
Date Thu, 07 Aug 2014 15:33:36 GMT
Hello all

 Usually, when using DELETE in CQL3 on some fields, C* creates tombstone
columns for those fields.

 Now if I delete a whole PARTITION (delete from MyTable where
partitionKey=...), what will C* do ? Will it create as many tombstones as
there are physical columns on this partition or will it just mark this
partition as "deleted" (Row Key deletion marker) ?

 On a side note, if I insert a bunch of physical columns in one partition
with the SAME ttl value, after a while they will appear as expired, would
C* need to scan the whole partition on disk to see which columns to expire
or could it see that the whole partition is indeed expired thanks to meta
data/ Partition key cache kept in memory ?  I was thinking about the
estimate histograms for TTL but I don't know in detail how it work


 Duy Hai  DOAN

View raw message