[ https://issues.apache.org/jira/browse/HIVE-16912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051978#comment-16051978 ]
Naveen Gangam commented on HIVE-16912: -------------------------------------- [~aihuaxu] Thank you for the review. the {{SID}} portion of the JDBC URL, {{solarsid}} is not the same as the schemaname. A SID is roughly equivalent to database while a schema is a logical separation of tables within a database. So one SID can have multiple schemas. But that does give me an idea to see if there is a way to provide the schema name as part of the URL. Let me do so research. But do you see an issue with this approach though? > 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)