You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/02/07 16:33:13 UTC

[jira] [Commented] (CASSANDRA-5228) Track minimum ttl and use to expire entire sstables

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

Jonathan Ellis commented on CASSANDRA-5228:
-------------------------------------------

I'm skeptical that this would be useful with our general-purpose compaction strategies.  Certainly LCS and probably STCS as well are good enough at combining newer data with old that we'd end up with a mix of expirations in most sstables.

But, if we have an append-mostly workload of ttl data, we could create a separate compaction strategy that doesn't bother merging sstables, just throws out expired ones (and relies on the bloom filters until then to avoid checking too many sstables on reads).
                
> Track minimum ttl and use to expire entire sstables
> ---------------------------------------------------
>
>                 Key: CASSANDRA-5228
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5228
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Jonathan Ellis
>            Priority: Minor
>
> It would be nice to be able to throw away entire sstables worth of data when we know that it's all expired.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira