cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangpei (Peter)" <peter.wang...@huawei.com>
Subject Re: time to live rows
Date Thu, 10 Feb 2011 06:30:58 GMT
AFAIK 2nd index only works for operator EQ.

-----邮件原件-----
发件人: Kallin Nagelberg [mailto:kallin.nagelberg@gmail.com] 
发送时间: 2011年2月9日 3:36
收件人: user@cassandra.apache.org
主题: Re: time to live rows

I'm thinking if this row expiry notion doesn't pan out then I might
create a 'lastAccessed' column with a secondary index (i think that's
right) on it. Then I can periodically run a query to find all
lastAccessed columns less than a certain value and manually delete
them. Sound reasonable?

-Kal
Mime
View raw message