pgadmin4/web/pgadmin/misc
Ashesh Vashi 6e4923d762 Fixes # 4778 - Implement the query plan analyzer
Look 'n' Feel and implementation logic are inspired from
'http://explain.depsez.com'.

It now creates three tabs under the 'Explain' panel when executing a
query using the Explain Analyze/Explain button from the toolbar of the
Query tool.

Graphical
---------
-> Graphical Explain Plan

Analysis
--------
-> Table to show details of the explain plan analyse.
-> Each row represents the statistics per Explain Plan 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 <= planned 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.

Reviewed by: Akshay Joshi
2019-10-08 16:44:24 +05:30
..
bgprocess Update all Python and JS dependencies. Fixes #4019 2019-03-14 15:11:16 +00:00
dependencies Change icons for table inheritance (icons by Chethana Kumar) Fixes #3174 2019-06-17 10:36:30 +01:00
dependents Change icons for table inheritance (icons by Chethana Kumar) Fixes #3174 2019-06-17 10:36:30 +01:00
file_manager Fix webpack issue where multiple assets emit to the same file. 2019-09-13 11:08:08 +05:30
sql 1. Added Master Password to increase the security of saved passwords. Fixes #4184 2019-05-28 12:00:18 +05:30
static/explain Fixes # 4778 - Implement the query plan analyzer 2019-10-08 16:44:24 +05:30
statistics 1. Added Master Password to increase the security of saved passwords. Fixes #4184 2019-05-28 12:00:18 +05:30
templates/sqlautocomplete/sql Initial support for PostgreSQL 12. Fixes #4283. Fixes #4288. Fixes #4290. 2019-06-10 14:24:45 +01:00
__init__.py Fix fatal error on launch of pgAdmin4. Fixes #4298 2019-05-28 17:05:54 +05:30