Re: Does EXPLAIN ANALYZE show a wrong plan for MIN/MAX?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Does EXPLAIN ANALYZE show a wrong plan for MIN/MAX?
Дата
Msg-id 18451.1131720557@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Does EXPLAIN ANALYZE show a wrong plan for MIN/MAX?  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: Does EXPLAIN ANALYZE show a wrong plan for MIN/MAX?  (Matteo Beccati <php@beccati.com>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
> On Fri, Nov 11, 2005 at 11:05:45AM +0100, Matteo Beccati wrote:
>> It seems that the plan outputted is not the optimized one (available
>> since 8.1) that is really used when running the plain query.

> It may also be that the overhead of calling gettimeofday() several
> times per tuple is blowing the time out. What platform is this?

Martijn's explanation is by far the more probable.  The high overhead
of EXPLAIN ANALYZE has been documented before.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Module incompatibility detection between 8.0 and 8.1
Следующее
От: Matteo Beccati
Дата:
Сообщение: Re: Does EXPLAIN ANALYZE show a wrong plan for MIN/MAX?