incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Black...@b3k.us>
Subject Re: what is the best way to truncate a column family
Date Fri, 18 Jun 2010 18:39:30 GMT
I have been reminded that you can do a range query+pagination with RP
in 0.6 to perform this operation.

On Fri, Jun 18, 2010 at 10:29 AM, Benjamin Black <b@b3k.us> wrote:
> In 0.6 your only option with those constraints is to iterate over the
> entire CF and deleting row by row.  This requires you are either using
> OPP or have an index that covers all keys in the CF.  0.7 adds the
> ability to truncate a CF (deleting all its rows) through the API.
>
> On Fri, Jun 18, 2010 at 10:24 AM, Claire Chang
> <claire@merchantcircle.com> wrote:
>> programmatically w/o bringing the servers down.
>>
>> thanks,
>> claire
>>
>

Mime
View raw message