Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 10 additions & 3 deletions mintlify/sql-editor/run-queries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,17 @@ Otherwise, you can request the exported data

SQL Editor provides an `Explain Query` action to run EXPLAIN on the selected query. You can access it from right click or use the shortcut key `(⌘ + E)` instead of prepending EXPLAIN manually.

For PostgreSQL database, Bytebase also embeds [PEV2](https://github.com/dalibo/pev2) to visualize the plan.
Bytebase provides visual plan representations for different databases:

![visualize-plan](/content/docs/sql-editor/explain-postgres-1.webp)
![visualize-plan](/content/docs/sql-editor/explain-postgres-2.webp)
- **PostgreSQL**: Embeds [PEV2](https://github.com/dalibo/pev2) to visualize the execution plan

![visualize-plan](/content/docs/sql-editor/explain-postgres-1.webp)
![visualize-plan](/content/docs/sql-editor/explain-postgres-2.webp)

- **SQL Server**: Provides native graphical execution plan visualization

![mssql-visualize-plan](/content/docs/sql-editor/explain-mssql-1.webp)
![mssql-visualize-plan](/content/docs/sql-editor/explain-mssql-2.webp)

## Batch mode

Expand Down