Help Center> GaussDB(for MySQL)> User Guide> Kernel Functions> Parallel Query> Usage> Viewing the Statuses of Parallel Query
Updated on 2024-05-21 GMT+08:00

Viewing the Statuses of Parallel Query

Query Statement Statuses

Run show status like " %PQ %" to display the current statuses of query statements executed in parallel, as shown in Figure 1.

Figure 1 Status

Parallel Execution Plans

Use EXPLAIN to display the parallel execution plans of the query statements, as shown in Figure 2.

Figure 2 Parallel execution plan

Compared with a traditional execution plan, a parallel execution plan has one more row of records. In the first row of the query result, the parallel-executed tables and parallelism degree are displayed.