cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: Questions About Cassandra
Date Tue, 27 Oct 2009 17:11:20 GMT
On Tue, Oct 27, 2009 at 11:02 AM, Ben Coverston <> wrote:
> if you wanted to truncate information (in bulk) from
> the database is there an easy way to use the timestamp field to
> accomplish that? I don't see anything in the API that is related to
> that type of functionality. I imagine it must be possible as logging
> seems to be a natural fit for cassandra.

We're adding support for deleting ranges of data (similar to the range
granularity you can get with get_slice), including across multiple
rows, in, but you
can already delete row-at-a-time by specifying only the CF granularity
to remove.

It would also be possible to add "erase a whole CF" similar to the sql
standard's TRUNCATE TABLE, but like lots of things right now that's
low priority until someone actually needs it. :)


(CC-ing cassandra-user)

View raw message