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
[Bug]: sum(mo_table_size) takes long time for the database with more than 20000 tables #17366
mysql> select request_at,statement,statement_id,status,duration from system.statement_info where request_at > '2024-07-05 07:50:00' and statement_id = '019081e8-c056-7bf1-9c70-2b1ee674983d';
| 2024-07-05 08:00:32.854620 | explain analyze SELECT reldatabase, sum(mo_table_size (reldatabase, relname)) AS size FROM `mo_catalog`.`mo_tables` WHERE relkind in ('r','e','cluster','v') AND reldatabase in ('mo_catalog','gh_monitor','write_test_mo_mysql','mo_sample_data_tpch_sf10','saas_common','write_test_0424','system','system_metrics','information_schema','mo_sample_data_tpch_sf1','mysql','write_test','write_test_mo_mysql2','write_test_mo_mysql3','test') GROUP BY `reldatabase` | 019081e8-c056-7bf1-9c70-2b1ee674983d | Success | 600162520634 |
changed the title [-][Bug]: `mo_table_size` takes long time for the database with more than 20000 tables[/-][+][Bug]: `sum(mo_table_size)` takes long time for the database with more than 20000 tables[/+]on Jul 8, 2024
Activity
[-][Bug]: `mo_table_size` takes long time for the database with more than 20000 tables[/-][+][Bug]: `sum(mo_table_size)` takes long time for the database with more than 20000 tables[/+]DanielZhangQD commentedon Jul 8, 2024
Result for
explain analyze:mo-20231112_data_query_result_moquery_019081e8-c056-7bf1-9c70-2b1ee674983d_20240705081033.csv
XuPeng-SH commentedon Jul 8, 2024
depends #15708
gouhongshen commentedon Jul 11, 2024
waiting
gouhongshen commentedon Jul 16, 2024
在做 partition state 重构
gouhongshen commentedon Jul 19, 2024
在做 reader
gouhongshen commentedon Jul 25, 2024
在做 reader
6 remaining items
gouhongshen commentedon Nov 28, 2024
2.0 已经 merge