Re: usleep feature for pgbench - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: usleep feature for pgbench
Date
Msg-id 200707061644.57878.peter_e@gmx.net
Whole thread Raw
In response to usleep feature for pgbench  (Jan Wieck <JanWieck@Yahoo.com>)
Responses Re: usleep feature for pgbench  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
Am Donnerstag, 5. Juli 2007 21:12 schrieb Jan Wieck:
> To test some changes in Slony I needed a
>
>      \usleep [microseconds|:variable]
>
> in pgbench's scripting language to be able to have hundreds of
> concurrent running transactions without totally swamping the system. I
> was wondering if anyone would object to permanently adding this to the
> pgbench code?

Or maybe a \sleep command that takes units, if it's not too much work.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Bgwriter strategies
Next
From: Tom Lane
Date:
Subject: Re: Bgwriter strategies