Support cache the plan with limit ? #38491
Labels
epic/plan-cache
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
Now, the prepare statement with
limit ?
can not be cached. Because different numbers for limit may need the different best plan.But in some scenario, the number for the limit may be close. We should support a variable to control whether we can cache the statement withlimit ?
or not.The text was updated successfully, but these errors were encountered: