sstableupgrade
Rewrite the SSTables in the specified snapshot to match the currently installed version of the DataStax Enterprise (DSE) 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:
data/cycling/cyclist_expenses-2d955621194c11e7a38d9504a063a84e/mc-6-big-Data.db
For SSTable compatibility and upgrading, see SSTable compatibility.
To upgrade from SSTables created with DSE 4.6 and earlier, you must first upgrade the SSTables you want to restore to version |
Usage:
sstableupgrade [options] keyspace_name table_name [snapshot_filename]
Tarball and Installer No-Services path:
<installation_location>/resources/cassandra/bin
The snapshot option upgrades the specified snapshot only.
Flag | Option | Description |
---|---|---|
|
Display stack traces. |
|
|
|
Display help. |