You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Lars Hofhansl (Jira)" <ji...@apache.org> on 2020/09/01 01:36:00 UTC
[jira] [Reopened] (PHOENIX-6115) Avoid scanning prior row state for
uncovered local indexes on immutable tables.
[ https://issues.apache.org/jira/browse/PHOENIX-6115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Hofhansl reopened PHOENIX-6115:
------------------------------------
Assignee: Lars Hofhansl
Now that I said it... Turns out there is a one-liner, and that's worth doing.
> Avoid scanning prior row state for uncovered local indexes on immutable tables.
> -------------------------------------------------------------------------------
>
> Key: PHOENIX-6115
> URL: https://issues.apache.org/jira/browse/PHOENIX-6115
> Project: Phoenix
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Priority: Major
> Attachments: 6115-master.txt
>
>
> Looking at the code I realized that we retrieve the prior row state even when is not necessary.
> Specifically it is not necessary when (a) the table is immutable and (b) the indexes does not include any covered columns.
> The unnecessary work is in part a consequence of the changes for global consistent indexing.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)