cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-3929) Support row size limits
Date Thu, 06 Sep 2012 05:07:09 GMT

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

Jonathan Ellis edited comment on CASSANDRA-3929 at 9/6/12 4:06 PM:
-------------------------------------------------------------------

That's what Reversed comparator is for. :)

(Non-facetiously, that is what we'd recommend in that case since reading from start of row
can skip index deserialization for a decent speedup.  Basically you only want to be reading
from end of row if that's a once-in-a-while query.  If it's your main query, reverse it at
the comparator level, not the query level.)

Edit: Rick typed faster than I did.
                
      was (Author: jbellis):
    That's what Reversed comparator is for. :)

(Non-facetiously, that is what we'd recommend in that case since reading from start of row
can skip index deserialization for a decent speedup.  Basically you only want to be reading
from end of row if that's a once-in-a-while query.  If it's your main query, reverse it at
the comparator level, not the query level.)
                  
> Support row size limits
> -----------------------
>
>                 Key: CASSANDRA-3929
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3929
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.2.1
>            Reporter: Jonathan Ellis
>            Assignee: Dave Brosius
>            Priority: Minor
>              Labels: ponies
>             Fix For: 1.2.1
>
>         Attachments: 3929.txt
>
>
> We currently support expiring columns by time-to-live; we've also had requests for keeping
the most recent N columns in a row.

--
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

Mime
View raw message