Re: PseudoPartitioning and agregates

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: PseudoPartitioning and agregates
Дата
Msg-id 87fywb8h7k.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: PseudoPartitioning and agregates  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Greg Stark <gsstark@mit.edu> writes:
>
> > How hard would it be to have Postgres actually remove the gettimeofday
> > overhead from the EXPLAIN ANALYZE output? 
> 
> Personally, I dislike measurement tools that lie to you under the flag
> of producing more-easily-interpreted results.

This is pretty standard practice for profilers in other contexts.

> As an example of why this would be a bad idea, the total time would no
> longer be closely related to the actual elapsed time (as measured by
> psql's \timing for instance) so you would be entirely unable to tell
> whether there was some significant factor not being measured.

Well that would be easily remedied by printing the total overhead subtracted
from all the nodes after the plan.

-- 
greg



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: WAL replay failure after file truncation(?)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: WAL replay failure after file truncation(?)