cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laing, Michael" <michael.la...@nytimes.com>
Subject Re: [Cassandra 2.0] truncate table
Date Thu, 09 Apr 2015 14:43:53 GMT
rtfm - trncate creates snapshots by default, they must be cleared on all
nodes to recover *disk space *as requested by the OP.

On Thu, Apr 9, 2015 at 10:17 AM, Anuj Wadehra <anujw_2003@yahoo.co.in>
wrote:

> You can try doing it from cassandra cli. Set consistency level to All and
> then truncate.
>
> Anuj Wadehra
>
> Sent from Yahoo Mail on Android
> <https://overview.mail.yahoo.com/mobile/?.src=Android>
> ------------------------------
>   *From*:"Parth Setya" <setya.parth@gmail.com>
> *Date*:Thu, 9 Apr, 2015 at 7:31 pm
> *Subject*:Re: [Cassandra 2.0] truncate table
>
> As per this thread
>
>
> http://stackoverflow.com/questions/10520110/how-do-i-delete-all-data-in-a-cassandra-column-family
>
> What you can do to physically remove the files is to go to
> /var/lib/cassandra/data/keyspace_name and then manually delete the
> directory with the name of that column family. Do this on all the nodes
> On Apr 9, 2015 7:26 PM, "Eduardo Cusa" <eduardo.cusa@usmediaconsulting.com>
> wrote:
>
>> Hi Guys, I truncated a column family that has a size of 31 gb, and the
>> disk space was not released
>>
>> what else do i have to do?
>>
>> Regards
>> Eduardo
>>
>>

Mime
View raw message