Upgrade the SSTables in the specified snapshot to match the DataStax Distribution of Apache Cassandra.

Rewrite the SSTables in the specified snapshot to match the currently installed version of the DataStax Distribution of Apache Cassandra™ (DDAC) database.

To restore a table from a snapshot with sstableloader, upgrade to a compatible SSTable version. SSTable versions are incremented when the format changes (not with each release of the database).

Use the version number in the SSTable file name to determine compatibility and upgrade requirements. The first two letters of the file name is the version, where the first letter indicates a major version and the second letter indicates a minor version. For example, the following SSTable version is mc:

For SSTable compatibility and upgrading, see SSTable compatibility.

Note: To upgrade from SSTables created with DSE 4.6 and earlier, you must first upgrade the SSTables you want to restore to version ka (using DSE version 4.7 or 4.8); SSTables created with DSE version 4.7 and higher are compatible with DDAC.


install_location/bin/sstableupgrade [options] keyspace_name table_name [snapshot_filename]

The snapshot option upgrades the specified snapshot only.

Table 1. Options
Flag Option Description
--debug Display stack traces.
-h --help Display help.