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 2015/07/01 03:28:04 UTC

[jira] [Resolved] (PHOENIX-2050) Avoid checking for child views unless operating on table

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

James Taylor resolved PHOENIX-2050.
-----------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 4.3.1)
                   4.5.0
                   5.0.0

> Avoid checking for child views unless operating on table
> --------------------------------------------------------
>
>                 Key: PHOENIX-2050
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2050
>             Project: Phoenix
>          Issue Type: Bug
>    Affects Versions: 4.3.1
>            Reporter: Arun Kumaran Sabtharishi
>            Assignee: James Taylor
>              Labels: drop, patch, view
>             Fix For: 5.0.0, 4.5.0
>
>         Attachments: 0001-PHOENIX-2050-Avoid-checking-for-child-views-unless-o.patch
>
>
> Whenever a view is dropped, MetaDataEndPointImpl.findChildViews() checks whether it has child views or not. This is doing a full scan in all the rows in SYSTEM.CATALOG which reduces performance. When the number of rows is very high, it causes timeout. The check has to be done only for the tables.



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