doc-exports/docs/dws/umn/dws_01_01373.html
Lu, Huayi 95132e24fc DWS UMN 830.201_new version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-27 11:54:34 +00:00

2.9 KiB

Top Time-Consuming SQL Statements Viewing

Symptom

Time-consuming SQL statements exist.

Troubleshooting Process

On the Top 5 Time-Consuming Queries page directed from the Cluster Overview page, record the change of top 5 time-consuming queries.

Analyze the frequency of top 5 queries to locate slow queries.

Troubleshooting Procedure

  1. On the Cluster Overview page, click and view the Top5 Time-Consuming Queries page.
  2. Find the IDs of time-consuming queries and query the pid field (session_id) in the database view PGXC_WLM_SESSION_STATISTICS.
  3. On the Session Monitoring page, locate the session_id and kill the time-consuming SQL statement.