Updated on 2023-03-07 GMT+08:00

SQL History

Prerequisites

You have logged in to a DB instance on the DAS console.

Procedure

  1. On the top menu bar, choose SQL Operations > SQL History.
  2. 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.

    After you enable Save Executed SQL Statements, executed SQL statements will be recorded in the DAS management host.