[
https://issues.apache.org/jira/browse/HIVE-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14977451#comment-14977451
]
Navis commented on HIVE-7575:
-----------------------------
[~ychena] Sorry for my bad description. Retrieving all the Table instances from
metastore is the the root cause of this, Not databases. For my case, I have
3000+ tables in 100+ databases.
[~szehon] I thought at first "table_types" was also a patten like other params
but actually it was not. Would it be better to be String[] or List<String>?
[~aihuaxu] There are already some test cases (TestJdbcDriver2, for example) but
I think I can add some more. Thanks.
> GetTables thrift call is very slow
> ----------------------------------
>
> Key: HIVE-7575
> URL: https://issues.apache.org/jira/browse/HIVE-7575
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2
> Affects Versions: 0.12.0, 0.13.0
> Reporter: Ashu Pachauri
> Assignee: Navis
> Attachments: HIVE-7575.1.patch.txt, HIVE-7575.2.patch.txt,
> HIVE-7575.3.patch.txt
>
>
> The GetTables thrift call takes a long time when the number of table is large.
> With around 5000 tables, the call takes around 80 seconds compared to a "Show
> Tables" query on the same HiveServer2 instance which takes 3-7 seconds.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)