planner: `plan replayer dump` statement dumps all historical plans of the specified query
Open
sig/planner
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
When using `plan replayer dump` statement to dump query information, it is better to dump all historical plans of this query as well.
Since in most cases, the first 2 steps for us to investigate a wrong plan issue are to figure out:
1) whether this query is a new query introduced to the system recently?
2) if it's not a new query, what's the previous plan of this query?
And historical plan information is useful for us to figure out the 2 problems above.
Contributor guide
Assessment
This issue has not been assessed yet.