Re: [PATCH] Add extra statistics to explain for Nested Loop
Julien Rouhaud <rjuju123@gmail.com>
From: Julien Rouhaud <rjuju123@gmail.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: e.sokolova@postgrespro.ru, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-10-16T09:07:34Z
Lists: pgsql-hackers
Le ven. 16 oct. 2020 à 16:12, Pavel Stehule <pavel.stehule@gmail.com> a écrit : > > > pá 16. 10. 2020 v 9:43 odesílatel <e.sokolova@postgrespro.ru> napsal: > >> Hi, hackers. >> For some distributions of data in tables, different loops in nested loop >> joins can take different time and process different amounts of entries. >> It makes average statistics returned by explain analyze not very useful >> for DBA. >> To fix it, here is the patch that add printing of min and max statistics >> for time and rows across all loops in Nested Loop to EXPLAIN ANALYSE. >> Please don't hesitate to share any thoughts on this topic! >> > > +1 > > This is great feature - sometimes it can be pretty messy current limited > format > +1, this can be very handy! >
Commits
-
Fix wrong units in two ExplainPropertyFloat calls.
- f90c708a0486 14.0 cited