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

load all column stats by sync load

hawkingrei opened this issue · comments

Enhancement

In calculating cost, we need all columns' stats to get row size.

image

To get right result,so we need to load all stats when to sync load