incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sheng Chen <chensheng2...@gmail.com>
Subject Re: Compaction doubles disk space
Date Tue, 29 Mar 2011 09:19:49 GMT
>From a previous thread of the same topic, I used a force GC and the extra
spaces are released.

What about my second question?




2011/3/29 Sheng Chen <chensheng2010@gmail.com>

> I use 'nodetool compact' command to start a compaction.
> I can understand that extra disk spaces are required during the compaction,
> but after the compaction, the extra spaces are not released.
>
> Before compaction:
> SSTable count: 10
> space used (live): 19G
> space used (total): 21G
>
> After compaction:
> sstable count: 1
> space used (live): 19G
> space used (total): 42G
>
>
> BTW, given that compaction requires double disk spaces, does it mean that I
> should never reach half of my total disk space?
> e.g. if I have 505GB data on 1TB disk, I cannot even delete any data at
> all.
>
>
>
>
>

Mime
View raw message