cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T Jake Luciani (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CASSANDRA-10060) Reuse TemporalRow when updating multiple MaterializedViews
Date Wed, 12 Aug 2015 23:22:45 GMT

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

T Jake Luciani edited comment on CASSANDRA-10060 at 8/12/15 11:22 PM:
----------------------------------------------------------------------

Branch here: https://github.com/tjake/cassandra/tree/reuse-temporalrow

cstar shows a almost 30% improvement (5 MVs attached to table)

http://cstar.datastax.com/graph?stats=42404fc4-4132-11e5-8876-42010af0688f&metric=op_rate&operation=1_user&smoothing=1&show_aggregates=true&xmin=0&xmax=2346.74&ymin=0&ymax=19566.8


was (Author: tjake):
Branch here: https://github.com/tjake/cassandra/tree/reuse-temporalrow

cstar shows a almost 50% improvement (5 MVs attached to table)

http://cstar.datastax.com/graph?stats=42404fc4-4132-11e5-8876-42010af0688f&metric=op_rate&operation=1_user&smoothing=1&show_aggregates=true&xmin=0&xmax=2346.74&ymin=0&ymax=19566.8

> Reuse TemporalRow when updating multiple MaterializedViews
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-10060
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10060
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>             Fix For: 3.0.0 rc1
>
>
> If a table has 5 associated MVs the current logic reads the existing row for the incoming
mutation 5 times. 
> If we reuse the data from the first MV update we can cut out any further reads.
> We know the existing data isn't changing because we are holding a lock on the partition.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message