hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Gangam (JIRA)" <>
Subject [jira] [Commented] (HIVE-16912) Improve table validator's performance against Oracle
Date Fri, 16 Jun 2017 21:02:00 GMT


Naveen Gangam commented on HIVE-16912:

Hey [~aihuaxu]
So java.sql.Connection.getSchema() (
like a good replacement. I had tested it against Derby, Postgres and Oracle and works great.
This API was introduced in JDK7, so using older driver jars will cause an issue.
I am uploading a patch with this fix.

> Improve table validator's performance against Oracle
> ----------------------------------------------------
>                 Key: HIVE-16912
>                 URL:
>             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

View raw message