Reputation: 1235
There is a keyspace occupying 55tb of space, cluster has 66 nodes in it (dse 5.1.6, cassandra 3.11) The keyspace has 3 tables in it and there are no reads/writes on the tables since last one month.
Want to drop the keyspace/tables to reclaim space without causing any issues in the cluster?
Upvotes: 1
Views: 541
Reputation: 16323
The only real issue I can foresee you would run into is a schema disagreement. Due to (a) size of the data and (b) number of nodes, my approach would be:
TRUNCATE
1 table at a timeTRUNCATE
times out, attempt a second timeDROP
itDROP
the keyspaceTo answer your questions directly:
DROP
to work without issues.auto_snapshot
in cassandra.yaml
which requires a rolling restart. You don't want to do that because it's not necessary to restart all 66 nodes.Upvotes: 2