I have a column family with really wide rows set to use Snappy like this:
compression_options = {'sstable_compression' :
'org.apache.cassandra.io.compress.SnappyCompressor'}
My understanding is that if a file is compressed I should not be able
to use "strings" command to view its contents. B
> At what point does compression start ?
It starts for new SSTables created after the schema was altered.
> How can I confirm it is working ?
Compressed SSTables include a -CompressionInfo.db component on disk.
Cheers
-
Aaron Morton
Freelance Cassandra Consultant
New Zealand
On Thu, May 9, 2013 at 3:38 PM, aaron morton wrote:
>> At what point does compression start ?
> It starts for new SSTables created after the schema was altered.
@OP :
If you want to compress all existing SSTables, use "upgradesstables"
or "cleanup", both of which rewrite existing SSTables 1:1.