Updated on 2025-08-18 GMT+08:00
How Do I View All SQL Logs Executed by GaussDB?
You can use the visualized database management service Data Admin Service (DAS) to quickly search for target SQL execution records.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select a region and project. - Click
in the upper left corner of the page and choose . - On the Instances page, locate the target DB instance and click Log In in the Operation column.
- On the displayed page, enter the username and password and click Log In.
- On the top menu bar, choose SQL Operations > SQL History.
- On the displayed page, search for execution information about the target SQL statement by time range, database name, or keyword.
- To access the Database Management page, click a database name.
- To copy and use a SQL statement, click it in the SQL Statement column.
- To directly execute a SQL statement, click Open in SQL window in the Operation column.
Parent topic: Log Management
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.