Increase loading speed of stats
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
TiDB loads stats asynchronously when it starts. When there are 100k tables in TiDB, loading the stats may cause more than one hour ( test on v6.5.0 ). At this stage, the execution plan generated by TiDB may be bad, resulting in increased latency and greater pressure on storage.
Reducing the loading time of stats can better adapt to multi-table scenarios.
Contributor guide
Assessment
This issue has not been assessed yet.