Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: autocommit 不同时或显示事务 执行计划显示不一样
v5.2.3
When autocommit=0 or a transaction is explicitly started with begin, the execution plan shown by explain analyze is inconsistent.
When autocommit=1, the execution info displays execution statistics from TiKV.
When autocommit=0 or in explicit transactions, the execution info only shows the time.