Re: pgbench - startup delay - Mailing list pgsql-patches

From Dave Page
Subject Re: pgbench - startup delay
Date
Msg-id 475D9A5D.3030803@postgresql.org
Whole thread Raw
In response to Re: pgbench - startup delay  (Neil Conway <neilc@samurai.com>)
Responses Re: pgbench - startup delay  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: pgbench - startup delay  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-patches
Neil Conway wrote:
> On Mon, 2007-12-10 at 19:27 +0000, Dave Page wrote:
>> Whilst doing some profiling of the server I found it useful to add an
>> option to pgbench to introduce a delay between client connection setup
>> and the start of the benchmark itself to allow me time to attach the
>> profiler to one of the backends.
>
> "postgres -W n" already does this. It is more flexible to put this
> functionality in the backend that in individual client apps anyway.

I'm aware of postgres -W, but wanted something that wouldn't get in the
way of other connections and would only affect my pgbench tests.

If the patch is of no interest, please just ignore it. I just posted it
for anyone that may find it useful - I'm not pushing to have it committed.

Regards, Dave.


pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: pgbench - startup delay
Next
From: "Joshua D. Drake"
Date:
Subject: Re: pgbench - startup delay