Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 如果我关闭自动analyze table 除了我手动analyze table 我记得还有个参数是让sql 哪怕统计信息过期也不改变执行计划的

[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version]
[Reproduction Path] What operations were performed that caused the issue
[Encountered Issue: Issue Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]
If I disable automatic analyze table, besides manually analyzing the table, I remember there is a parameter that allows SQL to not change the execution plan even if the statistics are outdated.
Question 1: How to configure it
Question 2: If the statistics are outdated and it still uses the old plan instead of pseudo, will the performance be better?