sstablelevelreset

Reset level to zero on a set of SSTables using LeveledCompactionStrategy.

Usage:

sstablelevelreset [--really-reset] keyspace table

The option --really-reset is a warning that DataStax Enterprise (DSE) is stopped before the tool is run.

Tarball and Installer No-Services path:

<installation_location>/resources/cassandra/tools/bin

Procedure

Stop DSE on the node. Choose a keyspace and table to reset to level 0.

sstablelevelreset --really-reset cycling cyclist_name

If the designated table is already at level 0, then no change occurs. If the SSTable is releveled, the metadata is rewritten to designate the level to 0.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com