Read query plans and SQL diagnostics
Review declared estimated plans, database diagnostics, and metadata checks with their actual limits.
When to use this
Request a supported plan or run a check, then use its labels and source location to understand the result.
Use this to inspect a supported plan or understand a parser, metadata, or server diagnostic.
Before you start
Connect to an engine that offers the requested plan. Actual plans can run the SQL.
Steps
- Check whether the selected engine lists the requested plan type.
- Open the SQL editor context menu and choose an available plan action.
- Read the plan type, dialect, and server diagnostics together.
- Use the result action to return to its source statement.
How to verify the result
The result is labeled with the plan type and its source statement.
Troubleshooting
- If plan actions are absent, check the selected dialect, driver, server version, and required metadata permissions.
- Before requesting an actual plan, read the engine-specific warning and confirm the statement is safe to execute.
Limits
- Plan availability is dialect-specific; an actual plan can execute the original query.
- Local parsing and metadata checks do not replace server validation or a safety review.