You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2015/11/21 02:05:11 UTC

[jira] [Updated] (PHOENIX-2051) Link record is in the format CHILD-PARENT for phoenix views and it has to scan the entire table to find the parent suffix.

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

Enis Soztutar updated PHOENIX-2051:
-----------------------------------
    Fix Version/s:     (was: 4.3.1)
                   4.7.0

> Link record is in the format CHILD-PARENT for phoenix views and it has to scan the entire table to find the parent suffix.
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: PHOENIX-2051
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2051
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.3.1
>            Reporter: Arun Kumaran Sabtharishi
>             Fix For: 4.7.0
>
>
> When a phoenix view is dropped, it runs a scan on the SYSTEM.CATALOG table looking for the link record. Since the link record is in the format CHILD-PARENT, it has to scan the entire table to find the parent suffix. For the long term solution, we can write two link records, the existing CHILD-PARENT and a new PARENT-CHILD so that the findChildViews() method can use a key range scan.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)