You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Conflicting guidance on combining Instance Plan Cache with session-level plan caches #23814
tidb-performance-tuning-config.md recommends enabling tidb_enable_instance_plan_cache (Instance Plan Cache) and tidb_enable_non_prepared_plan_cache (session-level Non-prepared plan cache) together, in the same recommended SQL block and settings table:
SET GLOBAL tidb_enable_instance_plan_cache=on;
SET GLOBAL tidb_instance_plan_cache_max_size=2GiB;
SET GLOBAL tidb_enable_non_prepared_plan_cache=on;
However, the tidb_enable_instance_plan_cache variable's own description in system-variables.md says the opposite:
These two pages give contradictory guidance on whether Instance Plan Cache and the session-level prepared/non-prepared plan caches should be combined or should be mutually exclusive. Could someone with knowledge of the actual TiDB behavior clarify which guidance is correct, so both pages can be reconciled?
(Found while reviewing the Japanese translation of tidb-performance-tuning-config.md; the JA translation faithfully mirrors this same inconsistency from the English source, so this is an English-source content issue, not a translation defect.)
Activity