Hi I'm running a 5 node dse cassandra cluster. Every node is about 90 % disk usage ,so I've deleted data from my keyspace(I've only one keyspace).but my disk space is still 90 % .Is there anyway to regain disk space of deleted data ??
Hi I'm running a 5 node dse cassandra cluster. Every node is about 90 % disk usage ,so I've deleted data from my keyspace(I've only one keyspace).but my disk space is still 90 % .Is there anyway to regain disk space of deleted data ??
Warning: If you have any legitimate snapshots of keyspaces, this will clear those out as well (so you'll want to back those up).
Go on each of the nodes and call in a terminal:
After deleting a keyspace, Cassandra still keeps the data around until it's called to clear it out explicitly.
http://docs.datastax.com/en/cassandra/2.1/cassandra/tools/toolsClearSnapShot.html
Think he said deleted data from his one and only keyspace, and thus now got tombstones, try to see here beware about doing manual/major compaction and possible needed free head room on disk. If you've filled your disk too much to let compaction handle this, maybe remove one node, wipe it, and bootstrap it again and do this node by node around your cluster. Consider always leaving head room to do compaction and handle node failures, ie. don't fill your nodes too much (maybe less than 50-75% disk usage).