Help Center > > User Guide> GaussDB(for MySQL) DB Instance Management (Standard Edition)> Overview> SQL-based Query

SQL-based Query

Updated at: Sep 29, 2020 GMT+08:00


You have logged in to a GaussDB(for MySQL) DB instance on the DAS console.


  1. In the database list of the Home page, locate the target database and click Query SQL Statements in the Operation column. The SQL Window is displayed.
  2. In the navigation pane, specify a database, table, or view.

    • Execute SQL: executes SQL statements.
    • Tune SQL: queries the SQL statements that are executed frequently, consume a large amount of resources, or take a long time to execute.
    • Execute SQL Plan: reports the execution of SQL statements to facilitate troubleshooting and optimize SQL processing performance.
    • SQL Favorites: allows you to add, view, and manage frequently used SQL statements.
    • Format SQL: improves the readability of SQL statements. Formatting SQL statements enables statements to be displayed in line break mode, but does not change their logic and semantics.

  3. After SQL statements are executed, view SQL execution status on the Executed SQL Statements, Messages, and Result Set tab pages.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?

Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel