You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Vorona (Commented) (JIRA)" <ji...@apache.org> on 2012/04/01 21:58:27 UTC

[jira] [Commented] (CASSANDRA-3077) Support TTL option to be set for column family

    [ https://issues.apache.org/jira/browse/CASSANDRA-3077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243830#comment-13243830 ] 

Aleksey Vorona commented on CASSANDRA-3077:
-------------------------------------------

Technically,  this issue was created 6 month earlier than the one it is duplicate of now. But that's not a big difference :) Also, this ticket contains two use cases, while the other only states some optimization gain of this change. I am copying use cases to the newer bug.
                
> Support TTL option to be set for column family
> ----------------------------------------------
>
>                 Key: CASSANDRA-3077
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3077
>             Project: Cassandra
>          Issue Type: Wish
>          Components: Core
>    Affects Versions: 0.8.4
>            Reporter: Aleksey Vorona
>            Priority: Minor
>
> Use case: I want one of my CFs not to store any data older than two months. It is a "notifications" CF which is of no interest to user.
> Currently I am setting TTL with each insert in the CF, but since it is a constant it makes sense to me to have it configured in CF definition to apply automatically to all rows in the CF.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira