matrixorigin / matrixone

Hyperconverged cloud-edge native database
https://docs.matrixorigin.cn/en
Apache License 2.0
1.76k stars 273 forks source link

[Bug]: `sum(mo_table_size)` takes long time for the database with more than 20000 tables #17366

Open DanielZhangQD opened 2 months ago

DanielZhangQD commented 2 months ago

Is there an existing issue for the same bug?

Branch Name

1.2.1

Commit ID

v1.2.1-27b34c670-2024-06-28

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

Expected Behavior

SQL succeeds in reasonable time

Steps to Reproduce

See detail in `Actual Behavior`

Additional information

Cloud prod env

DanielZhangQD commented 2 months ago

Result for explain analyze: mo-20231112_data_query_result_moquery_019081e8-c056-7bf1-9c70-2b1ee674983d_20240705081033.csv

XuPeng-SH commented 2 months ago

depends #15708

gouhongshen commented 2 months ago

waiting

gouhongshen commented 1 month ago

在做 partition state 重构

gouhongshen commented 1 month ago

在做 reader

gouhongshen commented 1 month ago

在做 reader

gouhongshen commented 1 month ago

等待 reader 和 tombstone 做完