Re: profiling pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: profiling pgbench
Дата
Msg-id 21620.1290633115@sss.pgh.pa.us
обсуждение исходный текст
Ответ на profiling pgbench  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> I did some profiling of pgbench -j 36 -c 36 -T 500 banging on my
> two-core desktop box - with synchronous_commit turned off to keep the
> fsyncs from dominating the profile - and got these results:

> 29634     4.7124  postgres                 base_yyparse

Seems like pgbench is a poster child for the value of prepared
statements.  Have you tried it with "-M prepared"?

I'd take this with a grain of salt as to whether it's representative of
real applications, of course.
        regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: profiling connection overhead
Следующее
От: Andres Freund
Дата:
Сообщение: Re: profiling pgbench