cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6876) Improve PerRowSecondaryIndex performance by removing O(N) complexity when computing indexes for a column
Date Tue, 18 Mar 2014 11:38:43 GMT

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

Aleksey Yeschenko commented on CASSANDRA-6876:
----------------------------------------------

[~sbtourist] Pushed to 2.0, can you cook up a 2.1 patch, too? It doesn't merge cleanly. Thanks.

> Improve PerRowSecondaryIndex performance by removing O(N) complexity when computing indexes
for a column
> --------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6876
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6876
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Sergio Bossa
>            Assignee: Sergio Bossa
>            Priority: Minor
>         Attachments: CASSANDRA-6876-2.patch, CASSANDRA-6876.patch
>
>
> Currently, given SecondaryIndexManager tracks all per-column and per-row secondary indexes
in a by-column map, when computing indexes for a given column it has to scan all indexes for
*all* columns, meaning that it will scan the *same* per-row index N times, where N is the
number of columns it is associated with, raising the complexity of what could be an O(1) operation
to O(N).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message