zengxl created HIVE-29378:
-----------------------------

             Summary: When there are a large number of tables, the "getTables" 
operation is very slow.
                 Key: HIVE-29378
                 URL: https://issues.apache.org/jira/browse/HIVE-29378
             Project: Hive
          Issue Type: Bug
    Affects Versions: 4.2.0
            Reporter: zengxl
         Attachments: image-2025-12-18-10-59-31-927.png

After introducing HIVE-24769, when executing the "show tables" command and 
there are thousands or even tens of thousands of tables in a single database, 
each table needs to return a complete Table object. This object is processed by 
the getTableObjectsByName method in the ObjectStore and converted to a Table. 
Each table takes 5 to 10 milliseconds to complete. With a large number of 
tables, the process becomes very slow.

!image-2025-12-18-10-59-31-927.png!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to