From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
---|---|
To: | e(dot)sokolova(at)postgrespro(dot)ru |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCH] Add extra statistics to explain for Nested Loop |
Date: | 2020-10-16 08:11:48 |
Message-ID: | CAFj8pRA=wMP+yebbssQByL9nV5FJe6vnkw-ZB7zta1j2W9ftjg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
pá 16. 10. 2020 v 9:43 odesílatel <e(dot)sokolova(at)postgrespro(dot)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
Pavel
--
> Ekaterina Sokolova
> Postgres Professional: http://www.postgrespro.com
> The Russian Postgres Company
From | Date | Subject | |
---|---|---|---|
Next Message | movead.li@highgo.ca | 2020-10-16 08:21:47 | Re: Wrong statistics for size of XLOG_SWITCH during pg_waldump. |
Previous Message | Kyotaro Horiguchi | 2020-10-16 08:08:49 | Re: shared-memory based stats collector |