Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 执行计划展示不对
Version: v6.1.1
The execution plan displayed for table joins is incorrect, and the explain time is relatively long.
This is probably because the NOT EXISTS
subquery is a non-correlated simple subquery. Currently, TiDB will expand the calculation, and the result of NOT EXISTS
is false, so it becomes a dual empty table.
This EXPLAIN
result will consider optimization.
- In the future,
EXPLAIN
should not take too much time, but how to optimize the dual output is still an open question.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.