Re: explain analyze taking longer than executing the query?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: explain analyze taking longer than executing the query?
Дата
Msg-id 5875.1163736082@sss.pgh.pa.us
обсуждение исходный текст
Ответ на explain analyze taking longer than executing the query?  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-general
Jeff Davis <pgsql@j-davis.com> writes:
> What am I missing about EXPLAIN ANALYZE that is causing that much
> overhead?

Instrumentation overhead?  In this case you've got 2 million more
gettimeofday() calls in the one case than the other, which says that
gettimeofday() takes about 1 microsecond on your machine, which is not
too surprising for typical consumer PC gear.  See discussions in the
pghackers archives back in May or so ... we tried to cut the overhead,
and failed miserably :-(

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL: Question about rules
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: ROWTYPE initialization question