nodetool getsstables

Provides the SSTables that own the partition key.

Provides the SSTables that own the partition key.


nodetool <options> getsstables [(-hf | --hex-format)] -- <keyspace> <table> <key>
Cassandra tarball installations:
Table 1. Options
Short Long Description
-h --host Hostname or IP address.
-p --port Port number.
-pwf --password-file Password file path.
-pw --password Password.
-u --username Remote JMX agent username.
keyspace Name of keyspace.
table One or more table names, separated by a space.
key Partition key of the SSTables.
-- Separates an option from an argument that could be mistaken for a option.


This command can be used to retrieve an SSTable.


An example of this command retrieves the SSTable for cycling.cyclist_name with the key argument fb372533-eb95-4bb4-8685-6ef61e994caa for one of the cyclists listed:

nodetool getsstables cycling cyclist_name 'fb372533-eb95-4bb4-8685-6ef61e994caa' 
The output is:
nodetool getsstables keyspace1 standard1 3330394c344e35313730