[
https://issues.apache.org/jira/browse/HIVE-16912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Naveen Gangam updated HIVE-16912:
---------------------------------
Attachment: HIVE-16912.patch
The proposed patch uses a system property, if set, to filter out the set of
tables being returned by getTables(). I have seen 4-5x improvement with the
property set.
> Improve table validator's performance against Oracle
> ----------------------------------------------------
>
> Key: HIVE-16912
> URL: https://issues.apache.org/jira/browse/HIVE-16912
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Affects Versions: 3.0.0
> Reporter: Naveen Gangam
> Assignee: Naveen Gangam
> Priority: Minor
> Attachments: HIVE-16912.patch
>
>
> Currently, this validator uses DatabaseMetaData.getTables() that takes in the
> order of minutes to return because of the number of SYSTEM tables present in
> Oracle.
> Providing a schema name via a system property would limit the number of
> tables being returned and thus improve performance.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)