phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PHOENIX-3858) Index maintenance not required for local indexes of table with immutable rows
Date Thu, 18 May 2017 05:18:04 GMT

     [ 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)

Mime
View raw message