Re: how to clear data from disk

2015-03-12 Thread Ben Bromhead
To clarify on why this behaviour occurs, by default Cassandra will snapshot a table when you perform any destructive action (TRUNCATE, DROP etc) see http://www.datastax.com/documentation/cql/3.0/cql/cql_reference/truncate_r.html To free disk space after such an operation you will always need to c

Re: how to clear data from disk

2015-03-10 Thread Patrick McFadin
Or just manually delete the files. The directories are broken down by keyspace and table. Patrick On Mon, Mar 9, 2015 at 7:50 PM, 曹志富 wrote: > nodetool clearsnapshot > > -- > Ranger Tsao > > 2015-03-10 10:47 GMT+08:00 鄢来琼 : > >> Hi ALL, >> >> >> >> After dro

Re: how to clear data from disk

2015-03-09 Thread 曹志富
nodetool clearsnapshot -- Ranger Tsao 2015-03-10 10:47 GMT+08:00 鄢来琼 : > Hi ALL, > > > > After drop table, I found the data is not removed from disk, I should > reduce the gc_grace_seconds before the drop operation. > > I have to wait for 10 days, but there i

how to clear data from disk

2015-03-09 Thread 鄢来琼
Hi ALL, After drop table, I found the data is not removed from disk, I should reduce the gc_grace_seconds before the drop operation. I have to wait for 10 days, but there is not enough disk. Could you tell me there is method to clear the data from disk quickly? Thank you very much! Peter