You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Luigi Tagliamonte <lu...@sysdig.com> on 2015/11/26 09:55:49 UTC

Cassandra Cleanup and disk space

Hi Everyone,
I'd like to understand what cleanup does on a running cluster when there is
no cluster topology change, i did a test and i saw the cluster disk space
shrink of 200GB.
I'm using cassandra 2.1.9.
-- 
Luigi
---
“The only way to get smarter is by playing a smarter opponent.”

Re: Cassandra Cleanup and disk space

Posted by Jai Bheemsen Rao Dhanwada <ja...@gmail.com>.
Cleanup is specific to a node, may be cleanup was ran one node before and
was ran another node the second time.

On Thu, Nov 26, 2015 at 6:37 PM, sai krishnam raju potturi <
pskraju88@gmail.com> wrote:

> Could it have been that you expanded your cluster a while back, but did
> not cleanup then.
>
> On Thu, Nov 26, 2015, 07:51 Luigi Tagliamonte <lu...@sysdig.com> wrote:
>
>> I did it 2 times and in both times it freed a lot of space, don't think
>> that it's just a coincidence.
>> On Nov 26, 2015 10:56 AM, "Carlos Alonso" <in...@mrcalonso.com> wrote:
>>
>>> May it be a SizeTieredCompaction of big SSTables just finished and freed
>>> some space?
>>>
>>> Carlos Alonso | Software Engineer | @calonso
>>> <https://twitter.com/calonso>
>>>
>>> On 26 November 2015 at 08:55, Luigi Tagliamonte <lu...@sysdig.com>
>>> wrote:
>>>
>>>> Hi Everyone,
>>>> I'd like to understand what cleanup does on a running cluster when
>>>> there is no cluster topology change, i did a test and i saw the cluster
>>>> disk space shrink of 200GB.
>>>> I'm using cassandra 2.1.9.
>>>> --
>>>> Luigi
>>>> ---
>>>> “The only way to get smarter is by playing a smarter opponent.”
>>>>
>>>
>>>

Re: Cassandra Cleanup and disk space

Posted by sai krishnam raju potturi <ps...@gmail.com>.
Could it have been that you expanded your cluster a while back, but did not
cleanup then.

On Thu, Nov 26, 2015, 07:51 Luigi Tagliamonte <lu...@sysdig.com> wrote:

> I did it 2 times and in both times it freed a lot of space, don't think
> that it's just a coincidence.
> On Nov 26, 2015 10:56 AM, "Carlos Alonso" <in...@mrcalonso.com> wrote:
>
>> May it be a SizeTieredCompaction of big SSTables just finished and freed
>> some space?
>>
>> Carlos Alonso | Software Engineer | @calonso
>> <https://twitter.com/calonso>
>>
>> On 26 November 2015 at 08:55, Luigi Tagliamonte <lu...@sysdig.com> wrote:
>>
>>> Hi Everyone,
>>> I'd like to understand what cleanup does on a running cluster when there
>>> is no cluster topology change, i did a test and i saw the cluster disk
>>> space shrink of 200GB.
>>> I'm using cassandra 2.1.9.
>>> --
>>> Luigi
>>> ---
>>> “The only way to get smarter is by playing a smarter opponent.”
>>>
>>
>>

Re: Cassandra Cleanup and disk space

Posted by Luigi Tagliamonte <lu...@sysdig.com>.
I did it 2 times and in both times it freed a lot of space, don't think
that it's just a coincidence.
On Nov 26, 2015 10:56 AM, "Carlos Alonso" <in...@mrcalonso.com> wrote:

> May it be a SizeTieredCompaction of big SSTables just finished and freed
> some space?
>
> Carlos Alonso | Software Engineer | @calonso <https://twitter.com/calonso>
>
> On 26 November 2015 at 08:55, Luigi Tagliamonte <lu...@sysdig.com> wrote:
>
>> Hi Everyone,
>> I'd like to understand what cleanup does on a running cluster when there
>> is no cluster topology change, i did a test and i saw the cluster disk
>> space shrink of 200GB.
>> I'm using cassandra 2.1.9.
>> --
>> Luigi
>> ---
>> “The only way to get smarter is by playing a smarter opponent.”
>>
>
>

Re: Cassandra Cleanup and disk space

Posted by Carlos Alonso <in...@mrcalonso.com>.
May it be a SizeTieredCompaction of big SSTables just finished and freed
some space?

Carlos Alonso | Software Engineer | @calonso <https://twitter.com/calonso>

On 26 November 2015 at 08:55, Luigi Tagliamonte <lu...@sysdig.com> wrote:

> Hi Everyone,
> I'd like to understand what cleanup does on a running cluster when there
> is no cluster topology change, i did a test and i saw the cluster disk
> space shrink of 200GB.
> I'm using cassandra 2.1.9.
> --
> Luigi
> ---
> “The only way to get smarter is by playing a smarter opponent.”
>

Re: Cassandra Cleanup and disk space

Posted by Robert Coli <rc...@eventbrite.com>.
On Thu, Nov 26, 2015 at 12:55 AM, Luigi Tagliamonte <lu...@sysdig.com>
wrote:

> I'd like to understand what cleanup does on a running cluster when there
> is no cluster topology change, i did a test and i saw the cluster disk
> space shrink of 200GB.
>

"writes out files 1:1 with their input files"

IIRC it does not delete single-sstable tombstones, but it might... ?

Most likely is what other poster said, that you didn't run cleanup at some
time in the past.

=Rob