incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sankalp kohli <kohlisank...@gmail.com>
Subject Re: merge sstables
Date Thu, 11 Jul 2013 20:52:22 GMT
Scrub will keep the file size same. YOu need to move all sstables to be L0.
the way to do this is to remove the json file which has level information.


On Thu, Jul 11, 2013 at 11:48 AM, chandra Varahala <
hadoopandcassandra@gmail.com> wrote:

> yes, but nodetool  scrub is not working ..
>
>
> thanks
> chandra
>
>
> On Thu, Jul 11, 2013 at 2:39 PM, Faraaz Sareshwala <
> fsareshwala@quantcast.com> wrote:
>
>> I assume you are using the leveled compaction strategy because you have
>> 5mb
>> sstables and 5mb is the default size for leveled compaction.
>>
>> To change this default, you can run the following in the cassandra-cli:
>>
>> update column family cf_name with compaction_strategy_options =
>> {sstable_size_in_mb: 256};
>>
>> To force the current sstables to be rewritten, I think you'll need to
>> issue a
>> nodetool scrub on each node. Someone please correct me if I'm wrong on
>> this.
>>
>> Faraaz
>>
>> On Thu, Jul 11, 2013 at 11:34:08AM -0700, chandra Varahala wrote:
>> > Hello ,
>> >
>> >  I have small size of sstables like 5mb around 2000 files. Is there a
>> way i can
>> > merge into  bigger size ?
>> >
>> > thanks
>> > chandra
>>
>
>

Mime
View raw message