Re: pgbnech: allow to cancel queries during benchmark

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: pgbnech: allow to cancel queries during benchmark
Дата
Msg-id 7691ade8-78-dd4-e26-135ccfbf0e9@mines-paristech.fr
обсуждение исходный текст
Ответ на Re: pgbnech: allow to cancel queries during benchmark  (Yugo NAGATA <nagata@sraoss.co.jp>)
Ответы Re: pgbnech: allow to cancel queries during benchmark
Список pgsql-hackers
I forgot, about the test:

I think that it should be integrated in the existing 
"001_pgbench_with_server.pl" script, because a TAP script is pretty 
expensive as it creates a cluster, starts it… before running the test.

I'm surprise that IPC::Run does not give any access to the process number. 
Anyway, its object interface seems to allow sending signal:

     $h->signal("...")

So the code could be simplified to use that after a small delay.

-- 
Fabien.

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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: Remove distprep
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: logical decoding issue with concurrent ALTER TYPE