Re: [PATCH] Add extra statistics to explain for Nested Loop - Mailing list pgsql-hackers

From Ekaterina Sokolova
Subject Re: [PATCH] Add extra statistics to explain for Nested Loop
Date
Msg-id e672d7c685be4d72dd9f66f8c088f674@postgrespro.ru
Whole thread Raw
In response to Re: [PATCH] Add extra statistics to explain for Nested Loop  (vignesh C <vignesh21@gmail.com>)
List pgsql-hackers
Hi, hackers.

Here is the new version of patch that add printing of min, max and total statistics for time and rows across all loops to EXPLAIN ANALYSE.

1) Please add VERBOSE to display extra statistics.
2) Format of extra statistics is:

   a) FORMAT TEXT

Loop min_time: N  max_time: N  min_rows: N  max_rows: N  total_rows: N
Output: ...

    b) FORMAT JSON

...
"Actual Total Time": N,
"Loop Min Time": N,
"Loop Max Time": N,
"Actual Rows": N,
"Loop Min Rows": N,
"Loop Max Rows": N,
"Loop Total Rows": N,
"Actual Loops": N,
...

I hope you find this patch useful.
Please don't hesitate to share any thoughts on this topic!
-- 
Ekaterina Sokolova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
Attachment

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: A problem in ExecModifyTable
Next
From: Daniel Gustafsson
Date:
Subject: Re: [PATCH] OpenSSL: Mark underlying BIO with the appropriate type flags