forked from docs/doc-exports
Reviewed-by: Kacur, Michal <michal.kacur@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
1.4 KiB
1.4 KiB
How Can I View SQL Execution Records in a Certain Period When Read and Write Requests Are Blocked?
You can use the top SQL feature to view SQL statements executed in a specified period. SQL statements of the current CN or all CNs can be viewed.
Top SQL allows you to view real-time and historical SQL statements.
- For details about real-time SQL statement query, see section "Real-time TopSQL" in Data Warehouse Service Development Guide.
- For details about how to query historical SQL statements, see section "Historical TopSQL" in Data Warehouse Service Development Guide.
Parent topic: Database Performance