DDL statements cannot be executed in parallel in TiDB. This statement is incorrect. In TiDB, multiple DDL statements can be executed in parallel. TiDB supports concurrent execution of multiple DDL statements, which can improve the system’s processing capacity and efficiency. When executing parallel DDL statements, TiDB schedules and executes them based on priority and resource availability.
At any given moment, only one TiDB Server can execute DDL statements. This statement is correct. In TiDB’s architecture, each TiDB Server instance runs independently, and each instance can execute DDL statements. However, in a TiDB cluster, at any given moment, only one TiDB Server is responsible for coordinating and executing DDL statements. This ensures the correctness and consistency of DDL operations, avoiding competition and conflicts between multiple TiDB Servers.
In summary, multiple DDL statements can be executed in parallel in TiDB, but at any given moment, only one TiDB Server is responsible for executing and coordinating the execution order and results of DDL statements.
DDL statements cannot be executed in parallel in TiDB. This is correct.
At the same time, only one TiDB Server can execute DDL statements. This is also correct.
The original text of the exercise in course 302 is “can”.
This is the classroom quiz for the chapter “SQL Execution Process in TiDB Database” from the course “Advanced System Management of TiDB [TiDB v5] (302) Lesson 05”.
At any given moment, only one TiDB server acting as the owner handles DDL operations, but the index DDL in the index queue and the jobs in the job queue can be executed in parallel by the owner.