Help Center/
GaussDB(DWS)/
More Documents/
User Guide/
Monitoring and Alarms/
Databases Monitoring/
Typical Scenarios/
Top Time-Consuming SQL Statements Viewing
Updated on 2022-06-10 GMT+08:00
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
- On the Cluster Overview page, click and view the Top5 Time-Consuming Queries page.
- Find the IDs of time-consuming queries and query the pid field (session_id) in the database view PGXC_WLM_SESSION_STATISTICS.
- On the Session Monitoring page, locate the session_id and kill the time-consuming SQL statement.
Parent topic: Typical Scenarios
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot