Re: I don't understand that EXPLAIN PLAN timings

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: I don't understand that EXPLAIN PLAN timings
Дата
Msg-id CAApHDvoj-M5HZzYuOwuuzVn=OvD4t9q8rPFDAhzDEKYfb5S03A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: I don't understand that EXPLAIN PLAN timings  (Jean-Christophe Boggio <postgresql@thefreecat.org>)
Список pgsql-performance
On Fri, 26 Jan 2024 at 17:23, Jean-Christophe Boggio
<postgresql@thefreecat.org> wrote:
> Let me know if I can do anything to provide you with more useful
> benchmark. The DB is still very small so it is easy to do tests.

What I was looking to find out was if there was some enable_* GUC that
you could turn off that would make the unaccounted time that you were
complaining about go away.

Because it seems when you reduce work_mem this unaccounted for time
goes away, it makes me think that some executor node is allocating a
load of memory during executor startup.  I was hoping to find out
which node is the offending one by the process of elimination.

Are you still seeing this unaccounted for time with your notebook?
i.e. the relatively high "Execution Time" reported by EXPLAIN ANALYZE
and low total actual execution time on the plan's top-level node.

I probably didn't need to mention the planning time as it seems
unlikely that disabling an enable* GUC would result in increased
planning time. However, it does not seem impossible that that *could*
happen.

David



В списке pgsql-performance по дате отправления:

Предыдущее
От: Jean-Christophe Boggio
Дата:
Сообщение: Re: I don't understand that EXPLAIN PLAN timings
Следующее
От: Pavlos Kallis
Дата:
Сообщение: Slow query in table where many rows were deleted. VACUUM FULL fixes it