xleoken opened a new pull request, #4605:
URL: https://github.com/apache/paimon/pull/4605

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... 
-->
   
   ### Purpose
   
   When store the catalog in s3 object store, as the number of tables 
increases, the performance of the `show tables` deteriorates.
   
   `HiveCatalog#listTablesImpl` will check each table in filesystem, will send 
many `list` request to the s3 server.
   
   reason as https://github.com/apache/paimon/pull/4592
   
   ### Tests
   
   **List 102 tables** 
   
   Before patch
   ```
   abc098
   abc099
   Time taken: 25.643 seconds, Fetched 102 row(s)
   ```
   
   After patch
   ```
   abc098
   abc099
   Time taken: 1.711 seconds, Fetched 102 row(s)
   ```
   
   
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to