git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

updating old partitions in STCS


I read in some best practising documents on datam model that: do not update old partitions while using STCS.
But i always use cluster keys in my queries and cqlsh-tracing reports that it only accesses sstables with data having specified cluster key (not all sstables containing part of partition).
For example:
sstable1 contains (part_key1,cluster_key1)
sstable2 contains (part_key1,cluster_key2)
query: select * from my_table where partition_key=part_key1 and custering_key=cluster_key1, only accesses sstable1.

So should i care about this rule and Why?
Thanks in advance

Sent using Zoho Mail





( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-cassandra-users/msg06665.html on line 68
Call Stack
#TimeMemoryFunctionLocation
10.0007363544{main}( ).../msg06665.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-cassandra-users/msg06665.html on line 68
Call Stack
#TimeMemoryFunctionLocation
10.0007363544{main}( ).../msg06665.html:0