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

James Taylor updated PHOENIX-2050:
----------------------------------
    Summary: Avoid checking for child views unless operating on table  (was: 
Dropping a view checks whether it has child views which has to be done only 
when a table is dropped )

> 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: 4.3.1
>
>
> 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)

Reply via email to