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

From Tom Lane
Subject Re: usleep feature for pgbench
Date
Msg-id 20905.1183664046@sss.pgh.pa.us
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
Jan Wieck <JanWieck@Yahoo.com> writes:
> 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?

How's it implemented?  Does the whole pgbench app freeze up for the
duration of the sleep, or does it just delay that one client script?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: unclean SPI_scroll_cursor_move documentation, is SPI_tuptable valid?
Next
From: "Florian G. Pflug"
Date:
Subject: Re: [PATCH] A crash and subsequent recovery of themaster can cause the slave to get out-of-sync