1

is it possible to generate an execution plan in Postgres like the one in MySQL below? thanks

enter image description here

1
  • 1
    In almost all cases the text representation is much more detailed and (in my opinion) easier to read. Most (if not all) of the image visualizations I know for Postgres (or Oracle for that matter) hide many of the important details. That's not so much the case with MySQL as its execution plan is far less detailed. Do try to learn the plan that you get when you just run explain or explain (analyze). It is worth the effort Commented Jun 4, 2018 at 6:41

1 Answer 1

3

Yes, it is possible. pgAdmin does execution plan visualisation. Same possibility has OmniDB. There is a tool for visualisation plan based on result of Postgres's EXPLAIN command in JSON format Postgres EXPLAIN Visualizer. You can write own tool too, because Postgres can export plans in XML, JSON or YAML format.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.