How Do I Use DAS to Query SQL Statements Executed in GaussDB?
DAS is a professional database management tool with a graphical user interface. You can enable SQL Explorer to query related SQL statements.
- 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 Databases > Data Admin Service. The DAS console is displayed.
- In the navigation pane, choose Intelligent O&M > Instance List to go to the Instance Overview page.
- On the Instance Overview page, select GaussDB Instances in the filter area.
- Locate the instance you want to view and click Details.
- Choose SQL > SQL Explorer to view full SQL query details of the instance.
- On the SQL Statements tab, toggle on Enable DAS SQL Explorer. Query the SQL statements executed by the current instance by time range, user, keyword, operation type, database, or other filters.
- Filter operation types by referring to Table 1 and click Export to export the corresponding SQL statements.
A maximum of 10,000 SQL statements can be displayed. If you need to view more, click Export.
A maximum of 100,000 records can be exported.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.