You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "James Taylor (JIRA)" <ji...@apache.org> on 2017/06/10 02:07:18 UTC
[jira] [Updated] (PHOENIX-3796) Apply Local Indexes batch updates
only once
[ https://issues.apache.org/jira/browse/PHOENIX-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Taylor updated PHOENIX-3796:
----------------------------------
Labels: localIndex (was: )
> Apply Local Indexes batch updates only once
> -------------------------------------------
>
> Key: PHOENIX-3796
> URL: https://issues.apache.org/jira/browse/PHOENIX-3796
> Project: Phoenix
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Labels: localIndex
> Fix For: 4.11.0
>
> Attachments: 3796-4x.txt, PHOENIX-3796-4.x-HBase-0.98.patch, PHOENIX-3796.patch
>
>
> [~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)