PATCH: RM #4778 - Query Plan Analyser - Mailing list pgadmin-hackers

From Ashesh Vashi
Subject PATCH: RM #4778 - Query Plan Analyser
Date
Msg-id CAG7mmowe3zY+uNzK+r32b2oSVGUU-e+45SHu_0CwrNwQeeMRbA@mail.gmail.com
Whole thread Raw
Responses Re: PATCH: RM #4778 - Query Plan Analyser  (Ashesh Vashi <ashesh.vashi@enterprisedb.com>)
List pgadmin-hackers
Hi Team,

I've implemented the query plan analyzer having similar functionality as explain.depsez.com.

It now creates three tabs under the 'Explain' panel.
Graphical
-> Graphical Explain Plan
Table (similar to explain.depsez.com)
-> Table to analyse the plan in details.
-> Each row represents the statistics per Explain Node
-> It may contains columns like node information, exclusive timing (time spent for this explain node excluding the child nodes), inclusive timing, actual rows, plan rows, rowsx (misestimation between planned vs actual rows), loop
-> Background color of exclusive, inclusive, rows changes based on their values.
i.e.
if Percentage of exclusive, and inclusive timings of total query time is
> 90 - Red Color
> 50 - Orange (Between Red & Yellow Color)
> 10 - Yellow color
if planner misestimation for the rows is
> 1000 times - Red Color
> 100 times - Orange (Between Red & Yellow Color)
> 10 times - Yellow Color
Also - if actual rows >= plan rows then it shows up arrow, , else it shows down arrow.

Statistics
-> It contains a HTML table for the statistics per Node Type, and a HTML table for the statistics per table.

Please review it.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company


http://www.linkedin.com/in/asheshvashi

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: [pgAdmin][RM4728] more strongly highlight the closing or opening parenthesis when the cursor is over one
Next
From: Ashesh Vashi
Date:
Subject: Re: PATCH: RM #4778 - Query Plan Analyser