pingcap / tidb

TiDB is an open-source, cloud-native, distributed, MySQL-Compatible database for elastic scale and real-time analytics. Try AI-powered Chat2Query free at : https://www.pingcap.com/tidb-serverless/

Home Page:https://pingcap.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prevent empty partition tables from merging with global statistics

hawkingrei opened this issue · comments

Enhancement

Now, we analyze empty partition tables. analyze will trigger the merge the global stats for the empty partition table. it takes too much time and it is unnecessary. we need to skip the merge global stats with the empty partition table.