You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Samuel CARRIERE <sa...@urssaf.fr> on 2012/06/05 11:44:48 UTC
Recreate LevelCompacted SSTables with a new size
Hi,
We are using a 9 nodes cassandra cluster, and each node is currently
handling about 40GB of data.
Our CFs were created using LevedCompactionStrategy, with the default
options (size of SSTables = 5MB).
So the number of SSTables was going quite large, which led to problems
described in CASSANDRA-4142 (OOM during repair).
Since then, we have updated our CFs definitions to set the
sstable_size_in_mb option to 200MB. Now the newly created SSTables have
the size we expect (about 200Mb).
But now my question is : is there a way to compact or "scrub" the existing
small SSTables so that they are re-created with the new size ?
We didn't manage to do it with "nodetool scrub" : the sstables are
recreated with their original size.
Regards,
Samuel
Re: Recreate LevelCompacted SSTables with a new size
Posted by Samuel CARRIERE <sa...@urssaf.fr>.
Ok, thanks for your reply Aaron.
I'll eventually be happy then :)
Cheers,
aaron morton <aa...@thelastpickle.com>
05/06/2012 20:52
Veuillez répondre à
user@cassandra.apache.org
A
user@cassandra.apache.org
cc
Objet
Re: Recreate LevelCompacted SSTables with a new size
Not that I am aware of. AFAIK the files should eventually get to that
size.
Anyone else ?
Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 5/06/2012, at 9:44 PM, Samuel CARRIERE wrote:
Hi,
We are using a 9 nodes cassandra cluster, and each node is currently
handling about 40GB of data.
Our CFs were created using LevedCompactionStrategy, with the default
options (size of SSTables = 5MB).
So the number of SSTables was going quite large, which led to problems
described in CASSANDRA-4142 (OOM during repair).
Since then, we have updated our CFs definitions to set the
sstable_size_in_mb option to 200MB. Now the newly created SSTables have
the size we expect (about 200Mb).
But now my question is : is there a way to compact or "scrub" the existing
small SSTables so that they are re-created with the new size ?
We didn't manage to do it with "nodetool scrub" : the sstables are
recreated with their original size.
Regards,
Samuel
Re: Recreate LevelCompacted SSTables with a new size
Posted by aaron morton <aa...@thelastpickle.com>.
Not that I am aware of. AFAIK the files should eventually get to that size.
Anyone else ?
Cheers
-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com
On 5/06/2012, at 9:44 PM, Samuel CARRIERE wrote:
> Hi,
> We are using a 9 nodes cassandra cluster, and each node is currently
> handling about 40GB of data.
> Our CFs were created using LevedCompactionStrategy, with the default
> options (size of SSTables = 5MB).
> So the number of SSTables was going quite large, which led to problems
> described in CASSANDRA-4142 (OOM during repair).
>
> Since then, we have updated our CFs definitions to set the
> sstable_size_in_mb option to 200MB. Now the newly created SSTables have
> the size we expect (about 200Mb).
> But now my question is : is there a way to compact or "scrub" the existing
> small SSTables so that they are re-created with the new size ?
> We didn't manage to do it with "nodetool scrub" : the sstables are
> recreated with their original size.
>
> Regards,
> Samuel