Re: pgbench - startup delay

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgbench - startup delay
Дата
Msg-id 20805.1197326050@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgbench - startup delay  (Dave Page <dpage@postgresql.org>)
Ответы Re: pgbench - startup delay  (Greg Smith <gsmith@gregsmith.com>)
Re: pgbench - startup delay  (Dave Page <dpage@postgresql.org>)
Список pgsql-patches
Dave Page <dpage@postgresql.org> writes:
> Alvaro Herrera wrote:
>> I think you could get the same effect by putting the -W in PGOPTIONS (in
>> pgbench's environment).

> That's a good point. It does have the downside that it will affect the
> pgbench results - though that wouldn't actually be an issue for what I
> was doing.

Well, if you're attaching a profiler or debugger to a backend, you're
hardly gonna get unadulterated TPS readings from pgbench anyway.
I concur with Alvaro that this case seems adequately covered by
    PGOPTIONS="-W n" pgbench ...
which is what I've always used in similar situations...

            regards, tom lane

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: pgbench - startup delay
Следующее
От: Greg Smith
Дата:
Сообщение: Re: pgbench - startup delay