Page 1 of 1

Query plan without actually running the query?

Posted: Wed 25 Mar 2020 11:12
by kenand
Is it possible to retrieve an execution plan without running the query.
The "Generate Execution Plan" appear to run a "EXPLAIN (ANALYZE, BUFFERS, FORMAT XML, VERBOSE) select .." .
My problem is that EXPLAIN ANALYZE will run the query, and if you have queries that have a hight cost, it will take a long time to get the plan.

I am searching for a way to run an explain without extra parameters. Which would then return without actually running the query.
I can ofcouse run it manually with the query: "explain select ...", but then i would not get any of the graphical layout of the plan.

Re: Query plan without actually running the query?

Posted: Wed 25 Mar 2020 13:11
by alexa
There is no such a possibility.

Re: Query plan without actually running the query?

Posted: Wed 25 Mar 2020 14:05
by kenand
Ok, that is a shame.
I cannot really wait +5 minutes for a query plan, I will probably need to continue using another tool then or live with the standard postgres textbased query plan.

Re: Query plan without actually running the query?

Posted: Wed 25 Mar 2020 15:26
by alexa
Thank you for bringing this to our attention.

We will make such a possibility in the next version 2.3 of dbForge Studio for PostgreSQL.