phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3796) LocalIndexes apply the entire batch for each mutation in a batch
Date Wed, 19 Apr 2017 17:15:41 GMT

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

Andrew Purtell commented on PHOENIX-3796:
-----------------------------------------

[~lhofhansl]

FWIW, -1 to rolling back PHOENIX-3789. 

+1 to this patch

> LocalIndexes apply the entire batch for each mutation in a batch
> ----------------------------------------------------------------
>
>                 Key: PHOENIX-3796
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3796
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>         Attachments: 3796-4x.txt
>
>
> [~mujtabachohan] pointed out an "exponential" increase in update time in the size of
the batch.
> Indeed when I look at the code in Indexer.java I see that for each call to postPut or
postDelete we do insert the entire into the local index. (So for a batch of size 10000 we'd
make 10000 index updates 10000 times)
> [~rajeshbabu]



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message