Error Report
- What is the URL/path of the document related to this issue?
- How would you like to improve it?
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:
Before enabling Instance Plan Cache, it is recommended to disable session-level Prepared execution plan cache and Non-prepared execution plan cache.
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.)
Error Report
tidb-performance-tuning-config.md)system-variables.md)tidb-performance-tuning-config.mdrecommends enablingtidb_enable_instance_plan_cache(Instance Plan Cache) andtidb_enable_non_prepared_plan_cache(session-level Non-prepared plan cache) together, in the same recommended SQL block and settings table:However, the
tidb_enable_instance_plan_cachevariable's own description insystem-variables.mdsays 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.)