You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/07/01 04:46:05 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14609479#comment-14609479 ] 

Hudson commented on PHOENIX-2050:
---------------------------------

FAILURE: Integrated in Phoenix-master #808 (See [https://builds.apache.org/job/Phoenix-master/808/])
PHOENIX-2050 Avoid checking for child views unless operating (jtaylor: rev a8a9d01d1eaafc33ea73913bec16254ac6a55be3)
* phoenix-core/src/it/java/org/apache/phoenix/end2end/AlterTableIT.java
* phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java


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