Online Documentation for SQL Manager for PostgreSQL

Viewing query plan


Using SQL Manager for PostgreSQL, you can view the plan for each of the queries created and executed in the application. The query plan is available within the corresponding Plan tab.

 

To view the Plan of a query, open Design Query and use the btnExplainQuery Explain query item of the Navigation bar or toolbar.

 

The Plan tab allows you to view the sequence of actions performed by the database server in the process of the query execution, and the amount of system resources used for the query execution.

 

Query Builder - Viewing query plan

 

The Operation panel below displays the operations as a tree list with the following columns: Operation Info, Operation, Start-up Cost, Total Cost, Number of Rows, Row Width, Startup Time, Total Time, Real Number of Rows, Loops.

Right-click within the panel to display the context menu allowing you to configure the set of visible columns or export the plan to any of supported formats.

 

The area at the bottom displays the execution plan as text.

 


See also:

Query execution