Re: Timing of 'SELECT 1'

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Timing of 'SELECT 1'
Дата
Msg-id 874qswu04i.fsf@mailbox.samurai.com
обсуждение исходный текст
Ответ на Timing of 'SELECT 1'  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I am timing small queries, and found that a PREPARE/EXECUTE of
> "SELECT 1" takes about 1.2ms on my machine.  A normal SELECT doesn't
> take much longer, so I am wondering why a simpler query isn't
> faster.

log_executor_stats output isn't really too helpful -- if you can get
some gprof or oprofile output, we might have a better chance of seeing
if there is anything we can improve.

-Neil



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Timing of 'SELECT 1'
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: PITR Functional Design v2 for 7.5