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 17:29:51 GMT
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