You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Rick Branson (JIRA)" <ji...@apache.org> on 2013/09/01 02:17:51 UTC

[jira] [Updated] (CASSANDRA-5966) Average name query performance much worse for wide rows

     [ https://issues.apache.org/jira/browse/CASSANDRA-5966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Branson updated CASSANDRA-5966:
------------------------------------

    Attachment: 5966.txt

Attached patch modifies SSTableNamesIterator to stop deserializing columns from the SSTable as soon as it's reached the maximal column name for a given query or indexed range. This is for both the narrow and wide row case.
                
> Average name query performance much worse for wide rows
> -------------------------------------------------------
>
>                 Key: CASSANDRA-5966
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5966
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Rick Branson
>            Assignee: Rick Branson
>         Attachments: 5966.txt
>
>
> The average performance for by-name queries degrades heavily on wide rows. This is because in the wide row case SSTableNamesIterator deserializes every column in the entire row chunk (64KB by default), where-as in the narrow row case, it stops deserializing as soon as it's found the columns it's looking for.

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