Write & reuse SQL
Inspect supported query plans and trace errors to SQL.
Review declared estimated plans, database diagnostics, and metadata checks with their actual limits.
Availability depends on the desktop build and selected database.
How it works
Request a supported plan or run a check, then use its labels and source location to understand the result.
A quick walkthrough
- Check whether the current engine offers the requested plan.
- Read the plan type and source location alongside its diagnostic.
01Choose a task→02Review context→03Complete the work
Default shortcuts
Plan types and entries depend on the engine; the local-parser shortcut does not generate a database execution plan.
| Action | Windows / Linux | macOS | Focus and effect |
|---|---|---|---|
| Open a query or analysis plan | No dedicated default | No dedicated default | Choose a plan type exposed by the editor/execution menu for the current engine; there is no common dedicated default. |
| Check SQL with the local parser | Ctrl+Alt+V | ⌘+⌥+V | Use where the editor exposes SQLGlot validation; local parsing does not prove server acceptance or query safety. |
| AI SQL diagnosis / optimization | No dedicated default | No dedicated default | Choose the corresponding editor AI command and use its current menu binding; AI explanation and database plans are separate outputs. |
- Settings → Shortcuts shows configurable bindings; customized keys take precedence. Fixed dialog keys and mouse gestures may be managed by their own controls.
- On macOS, ⌘ means Command and ⌥ means Option. Function keys may require Fn. Delete means forward delete (often Fn+⌫ on a compact Mac keyboard); use the menu when Insert is unavailable.
Objects in this workflow
What to know
- 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.