planner: support auto-eviction for plan-cache #38593
Labels
epic/plan-cache
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
The current plan cache has risks that may cache some bad plans(e.g. #38533), to alleviate this problem, we can introduce some auto-eviction rules.
For example, introduce a time threshold and let the optimize evict a plan if its execution time exceeds that threshold.
The text was updated successfully, but these errors were encountered: