You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ SDK PERFORMANCE] The execution of the show tables command takes a long time. #4295
As shown in the above figure, CarbonShowTablesCommand obtains metadata from metastore for each table. Currently, when there are 180,000 tables, it takes a long time (about 1 hours) to run the show tables command in spark-sql shell, which needs to be optimized.
When the filter function is not invoked, it takes about 12 seconds to obtain 180,000 tables by running the show tables command.As shown in the following figure.
Activity
kevinjmh commentedon Mar 30, 2023
Maybe we can try to get tables' info in one batch instead of one by one
wangxiaopeng0329 commentedon Mar 30, 2023
hi, when and which version can solve the problem?