sstablekeys

The sstablekeys utility is shorthand for sstable2json with the -e option.

The sstablekeys utility is shorthand for sstable2json with the -e option.

Instead of dumping all of a table’s data, it dumps only the keys

Note: This tool is not recommended as a production tool and is not suitable for production operations!

Procedure

Usage:
bin/sstablekeys SSTABLE

SSTABLE should be a full path to a {table-name}-Data.db file in Cassandra’s data directory. For example, /var/lib/cassandra/data/Keyspace1/Standard1-e-1-Data.db.