pingcap / pingcap/tidb

planner: support a command like 'load stats {table}' to enforce the planner to load stats into memory

Open
#39,193 0 comments 0 reactions 0 assignees View on GitHub
component/statistics sig/planner type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement
Support a command like 'load stats {table}' to enforce the planner to load stats into memory;
Two scenarios where this command can help:
1. add these commands into restarting scripts to let the planner can load some key tables' stats into memory when starting;
2. don't need to execute some queries to trigger the stats loading when testing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.