Prepared Plan Cache support limit ? #28286
Labels
epic/plan-cache
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
Currently plan cache does not support query including
limit ?
clause, just in case small or large numbers should not shared the sample execution plan.For real-world core-banking application, the number for
limit ?
is consistent. This kind of query ranks top executions, it makes sense to to cache plan and reduce the compilation cost.An example query
select * from account where sub_acct_no = ? and sign_status = ? limit ?
I'll suggest to add a config to lift this limitation.
The text was updated successfully, but these errors were encountered: