You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Arun Kumaran Sabtharishi (JIRA)" <ji...@apache.org> on 2015/06/18 05:20:00 UTC
[jira] [Created] (PHOENIX-2050) Dropping a view checks whether it
has child views which has to be done only when a table is dropped
Arun Kumaran Sabtharishi created PHOENIX-2050:
-------------------------------------------------
Summary: Dropping a view checks whether it has child views which has to be done only when a table is dropped
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
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)