incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 杨辉强 <>
Subject Re: Deletion use more space.
Date Tue, 16 Jul 2013 10:15:12 GMT
  I use the follow cmd to update gc_grace_seconds. It reports error! Why?

[default@WebSearch] update column family ScheduleInfoCF with gc_grace_seconds = 3600;
java.lang.IllegalArgumentException: No enum const class org.apache.cassandra.cli.CliClient$ColumnFamilyArgument.GC_GRACE_SECONDS

----- 原始邮件 -----
发件人: "Michał Michalski" <>
发送时间: 星期二, 2013年 7 月 16日 下午 5:51:49
主题: Re: Deletion use more space.

Deletion is not really "removing" data, but it's adding tombstones 
(markers) of deletion. They'll be later merged with existing data during 
compaction and - in the end (see: gc_grace_seconds) - removed, but by 
this time they'll take some space.


W dniu 16.07.2013 11:46, 杨辉强 pisze:
> Hi, all:
>    I use cassandra 1.2.4 and I have 4 nodes ring and use byte order partitioner.
>    I had inserted about 200G data in the ring previous days.
>    Today I write a program to scan the ring and then at the same time delete the items
that are scanned.
>    To my surprise, the cassandra cost more disk usage.
>     Anybody can tell me why? Thanks.

View raw message