Re: pgbench - startup delay

Поиск
Список
Период
Сортировка
От Greg Smith
Тема Re: pgbench - startup delay
Дата
Msg-id Pine.GSO.4.64.0712101849240.14776@westnet.com
обсуждение исходный текст
Ответ на Re: pgbench - startup delay  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgbench - startup delay  (Neil Conway <neilc@samurai.com>)
Re: pgbench - startup delay  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Mon, 10 Dec 2007, Tom Lane wrote:

> I concur with Alvaro that this case seems adequately covered by
>     PGOPTIONS="-W n" pgbench ...

I started to disagree with this, but ultimately realized anyone who is
running pgbench for long enough to get useful results shouldn't have their
TPS impacted much at all by a few overhead seconds tacked onto the server
startup.

I once wrote a similar patch to the one Dave submitted here and feel like
it's worth committing at least a documentation patch to show how to deal
with this.  It's not obvious that pgbench pays attention to the
environment variables at all, and it's even less obvious that you can pass
what look like server options in there.  I just poked around the
documentation a bit and I didn't find anything that cleared up which
options you can pass from a client; in addition to -W, I can imagine
pgbench users might also want to use -S (sort memory) or -f (forbid
scan/join types).  If I can get someone to clarify what is supported there
I can put together a pgbench doc patch that addresses this topic.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgbench - startup delay
Следующее
От: Neil Conway
Дата:
Сообщение: Re: pgbench - startup delay