[ 
https://issues.apache.org/jira/browse/PHOENIX-3858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James Taylor updated PHOENIX-3858:
----------------------------------
    Attachment: PHOENIX-3858.patch

Here's a WIP patch that prevents the scan to find old values for immutable 
rows. I'll test it locally. Looks like something else may be going on, though, 
[~rajeshbabu], if mutable indexes are still 2x slower for local indexes with 
your patch applied.

> Index maintenance not required for local indexes of table with immutable rows
> -----------------------------------------------------------------------------
>
>                 Key: PHOENIX-3858
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3858
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Rajeshbabu Chintaguntla
>            Assignee: Rajeshbabu Chintaguntla
>             Fix For: 4.11.0
>
>         Attachments: PHOENIX-3858.patch
>
>
> While preparing index mutations we are are scanning data region for index 
> maintenance which is not required in case of immutable rows. This 
> optimisation is very helpful for local indexes which got removed in the 
> recent changes.
> FYI [~jamestaylor] [~mujtabachohan] Found this while checking PHOENIX-3853. 



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

Reply via email to