RE: pgbench: option delaying queries till connections establishment?

Поиск
Список
Период
Сортировка
Искать
От
kuroda.hayato@fujitsu.com
Тема
RE: pgbench: option delaying queries till connections establishment?
Дата
Msg-id
OSBPR01MB3157BE1BD073748D7E48DAF1F5170@OSBPR01MB3157.jpnprd01.prod.outlook.com
Ответ на
Список
Дерево обсуждения
pgbench: option delaying queries till connections establishment? Andres Freund <andres@anarazel.de>
Re: pgbench: option delaying queries till connections establishment? Andres Freund <andres@anarazel.de>
Re: pgbench: option delaying queries till connectionsestablishment? Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Re: pgbench: option delaying queries till connectionsestablishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connectionsestablishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connections establishment? Andres Freund <andres@anarazel.de>
Re: pgbench: option delaying queries till connectionsestablishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connectionsestablishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connectionsestablishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connections establishment? Daniel Gustafsson <daniel@yesql.se>
Re: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
RE: pgbench: option delaying queries till connections establishment? "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
RE: pgbench: option delaying queries till connections establishment? "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
RE: pgbench: option delaying queries till connections establishment? "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
RE: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
RE: pgbench: option delaying queries till connections establishment? "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: pgbench: option delaying queries till connections establishment? Marina Polyakova <m.polyakova@postgrespro.ru>
Re: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connections establishment? Thomas Munro <thomas.munro@gmail.com>
Re: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connections establishment? Thomas Munro <thomas.munro@gmail.com>
Re: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connections establishment? Thomas Munro <thomas.munro@gmail.com>
Re: pgbench: option delaying queries till connections establishment? Thomas Munro <thomas.munro@gmail.com>
Re: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
RE: pgbench: option delaying queries till connections establishment? "kuroda.hayato@fujitsu.com" <kuroda.hayato@fujitsu.com>
Re: pgbench: option delaying queries till connectionsestablishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connectionsestablishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connections establishment? Andres Freund <andres@anarazel.de>
Re: pgbench: option delaying queries till connections establishment? Dave Cramer <davecramer@postgres.rocks>
Re: pgbench: option delaying queries till connections establishment? Dave Cramer <davecramer@postgres.rocks>
Re: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connections establishment? Alexander Korotkov <aekorotkov@gmail.com>
Re: pgbench: option delaying queries till connections establishment? Andres Freund <andres@anarazel.de>
Re: pgbench: option delaying queries till connections establishment? Fabien COELHO <coelho@cri.ensmp.fr>
Re: pgbench: option delaying queries till connections establishment? Marina Polyakova <m.polyakova@postgrespro.ru>
Re: pgbench: option delaying queries till connections establishment? Andres Freund <andres@anarazel.de>
Dear Fabien;

> The current implementation is too simple. If nthreads >= 2 and connection fails in the one thread,
> the other one will wait forever.

I attached the very preliminary patch for solving the problem.
Even if threads fail to connect, the others can go through the barrier.
But I think this implementation is not good...


Best Regards,
Hayato Kuroda
FUJITSU LIMITED

В списке pgsql-hackers по дате отправления
От: Craig Ringer
Дата:
От: bucoo@sohu.com
Дата:
FAQ