Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 非事务DML功能增加并发执行能力

It is recommended to add concurrency control capabilities to non-transactional DML functions, such as adding a parallel xx option to control the concurrency of executing grouped SQL to speed up execution. Currently, it executes serially after grouping, and manually splitting the range is also quite troublesome, which does not reflect the advantage of this feature.
Additionally, is there anything special about the execution plan for non-transactional DML execution? Previously, when importing a table and then inserting into another table using insert into select, with user_id as the secondary index and grouping every 10,000 rows, it was found that the grouped SQL used a full table scan during actual execution. However, when these SQL statements were executed individually using explain\explain analyze, they could use the index. After collecting statistics, non-transactional DML can use the index normally.