sstablekeys
The sstablekeys utility dumps table keys.
The sstablekeys utility dumps table keys. To list the keys in an SSTable, find the
name of the SSTable file. The file is located in the data directory and has a
.db extension. The location of the data directory, listed
in the "Install locations" section,
depends on the type of installation. After finding the name of the file, use the
name as an argument to the sstablekeys command.
- Cassandra Package installations:
$ sstablekeys <sstable_name>
- Cassandra Tarball installations:
cd install_location/resources/cassandra $ bin/sstablekeys <sstable_name>
- DataStax Enterprise 4.8 tarball installations:
cd install_location/resources/cassandra $ bin/sstablekeys <sstable_name>