Re: usleep feature for pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: usleep feature for pgbench
Дата
Msg-id 20905.1183664046@sss.pgh.pa.us
обсуждение исходный текст
Ответ на usleep feature for pgbench  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: usleep feature for pgbench
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: unclean SPI_scroll_cursor_move documentation, is SPI_tuptable valid?
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: [PATCH] A crash and subsequent recovery of themaster can cause the slave to get out-of-sync