planner: non-prepared plan cache supports queries with more than 200 parameters #44823
Labels
affects-7.1
This bug affects the 7.1.x(LTS) versions.
epic/plan-cache
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
Currently, if the total number of parameters in a query is more than 200 parameters, it cannot hit the non-prepared plan cache (see https://docs.pingcap.com/tidb/stable/sql-non-prepared-plan-cache#usage-restrictions).
Better to make it configurable, some users may need to cache these queries.
The text was updated successfully, but these errors were encountered: