# SQL Explorer

#### Procedure

1. Log in to the DAS console using your username and password.
2. On the Overview page, click Go to Intelligent O&M.
3. Select the required instance and click Details to go to the Intelligent O&M overview page.
4. Choose SQL > SQL Explorer to view full SQL details of the instance.
5. On the SQL Statements tab page, click Enable DAS SQL Explorer. Query the SQL statements executed by the current instance by time range, user, keyword, or database.

   A maximum of 10,000 SQL statements can be displayed. If you need to view more, click Export to export them. A maximum of 100,000 records can be exported.

6. On the SQL Templates tab page, select a time range to view SQL templates and their statistical information, for example, the average execution duration.
7. On the SQL Statement Types tab page, view types of SQL statements that were ever executed.

Parent topic: SQL