You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by "B. Todd Burruss" <bt...@gmail.com> on 2012/10/22 20:53:45 UTC

nodetool cleanup

does "nodetool cleanup" perform a major compaction in the process of
removing unwanted data?

i seem to remember this to be the case, but can't find anything definitive

Re: nodetool cleanup

Posted by "B. Todd Burruss" <bt...@gmail.com>.
since SSTABLEs are immutable, it must create new SSTABLEs without the
data that the node is no longer a replica for ... but it doesn't
remove deleted data.  seems like a possible optimization to also
removed deleted data and tombstone cleanup ... but i guess cleanup
shouldn't really be used that much.

thx

On Tue, Oct 23, 2012 at 12:40 AM, aaron morton <aa...@thelastpickle.com> wrote:
> what is the internal memory model used? It sounds like it doesn't have a
> page manager?
>
> Nodetool cleanup is a maintenance process to remove data on disk that the
> node is no longer a replica for. It is typically used after the token
> assignments have been changed.
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 23/10/2012, at 6:42 PM, Will @ SOHO <wi...@voodoolunchbox.com> wrote:
>
> On 10/23/2012 01:25 AM, Peter Schuller wrote:
>
>
> On Oct 22, 2012 11:54 AM, "B. Todd Burruss" <bt...@gmail.com> wrote:
>>
>> does "nodetool cleanup" perform a major compaction in the process of
>> removing unwanted data?
>
> No.
>
> what is the internal memory model used? It sounds like it doesn't have a
> page manager?
>
>

Re: nodetool cleanup

Posted by aaron morton <aa...@thelastpickle.com>.
> what is the internal memory model used? It sounds like it doesn't have a page manager?
Nodetool cleanup is a maintenance process to remove data on disk that the node is no longer a replica for. It is typically used after the token assignments have been changed. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 23/10/2012, at 6:42 PM, Will @ SOHO <wi...@voodoolunchbox.com> wrote:

> On 10/23/2012 01:25 AM, Peter Schuller wrote:
>> 
>> On Oct 22, 2012 11:54 AM, "B. Todd Burruss" <bt...@gmail.com> wrote:
>> >
>> > does "nodetool cleanup" perform a major compaction in the process of
>> > removing unwanted data?
>> 
>> No.
> what is the internal memory model used? It sounds like it doesn't have a page manager?


Re: nodetool cleanup

Posted by "Will @ SOHO" <wi...@voodoolunchbox.com>.
On 10/23/2012 01:25 AM, Peter Schuller wrote:
>
>
> On Oct 22, 2012 11:54 AM, "B. Todd Burruss" <btoddb@gmail.com 
> <ma...@gmail.com>> wrote:
> >
> > does "nodetool cleanup" perform a major compaction in the process of
> > removing unwanted data?
>
> No.
>
what is the internal memory model used? It sounds like it doesn't have a 
page manager?

Re: nodetool cleanup

Posted by Peter Schuller <pe...@infidyne.com>.
On Oct 22, 2012 11:54 AM, "B. Todd Burruss" <bt...@gmail.com> wrote:
>
> does "nodetool cleanup" perform a major compaction in the process of
> removing unwanted data?

No.