CloudDM 4.8.0 adds GreptimeDB as a DataSource
Skip to main content

Run queries

Open a query tab in Data Query and enter your SQL. Use the tab toolbar to control execution.

Run SQL​

  1. Check the DataSource and database for the current tab.
  2. Enter SQL. To run specific statements, select them first.
  3. Click Run, or right-click in the editor and choose run.
  4. Check the results pane for the execution status, results, or errors.

Query controls​

  • Explain Plan shows the execution plan for the current SQL. Support depends on the DataSource and SQL statement type.
  • Cancel stops a running query.
  • Tx: Auto opens the transaction mode menu for the current tab.
  • submit commits the current transaction when there is a pending transaction.
  • Rollback rolls back the current transaction when there is a transaction to roll back.
caution

Before running DML, DDL, or other SQL that can change data or schema, check the target environment, resource permissions, security rules, and ticket requirements. Feature permissions for your role determine whether you can export query results.