sstablesplit

Use this tool to split SSTables files into multiple SSTables of a maximum designated size.

Use this tool to split SSTables files into multiple SSTables of a maximum designated size. For example, if SizeTieredCompactionStrategy was used for a major compaction and results in a excessively large SSTable, it's a good idea to split the table because won't get compacted again until the next huge compaction.

Cassandra must be stopped to use this tool:

C:\> net stop DataStax_Cassandra_Community_Server
C:\> net stop DataStax_DDC_Server

Usage:

C:\> cd "Program Files\DataStax Community\apache-cassandra\tools\bin"
C:\> sstablesplit [options] <filename> [<filename>]*
C:\> Program Files\DataStax Community\apache-cassandra\tools\bin\sstablesplit [options] <filename> [<filename>]*

Example:

C:\> sstablesplit -s 40 "Program Files\DataStax Community \data\data\Keyspace1\Standard1\*" 
Options
Flag Option Description
--debug Display stack traces.
-h --help Display help.
  --no-snapshot Do not snapshot the SSTables before splitting.
-s --size <size> Maximum size in MB for the output SSTables (default: 50).
-v --verbose Verbose output.