[ 
https://issues.apache.org/jira/browse/HIVE-7575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14975756#comment-14975756
 ] 

Szehon Ho commented on HIVE-7575:
---------------------------------

Patch seems to help a lot!  I think it helps for when many tables case too, I 
dont know about the case of many database.

One small question, why can't table_types be a list instead of a large string 
in metastoreClient.getTableMetas() method?  The other MetastoreClient api's 
have arguments in list form, so it will be cleaner.  Is it for performance 
reasons?


> 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)

Reply via email to