Re: multi-threaded pgbench

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: multi-threaded pgbench
Дата
Msg-id 4A54D007.10709@dunslane.net
обсуждение исходный текст
Ответ на Re: multi-threaded pgbench  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: multi-threaded pgbench  (Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> I think you should have it use pthreads if available, or Windows threads 
>> there, or fork() elsewhere.
>>     
>
> Hmm, but how will you communicate stats back from the sub-processes?
> pg_restore doesn't need anything more than a success/failure result
> from its child processes, but I think pgbench will want more.
>
>   

My first reaction is to say "use a pipe."

cheers

andtrew


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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: 8.4.0 vs. locales vs. pl/perl?
Следующее
От: Chris Browne
Дата:
Сообщение: Re: New types for transparent encryption