Re: pg_ctl failover Re: Latches, signals, and waiting

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: pg_ctl failover Re: Latches, signals, and waiting
Дата
Msg-id AANLkTikksgA0vRJpJYJzYwsTW3d7sRdQt6W=YcDc-293@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_ctl failover Re: Latches, signals, and waiting  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: pg_ctl failover Re: Latches, signals, and waiting  (Tatsuo Ishii <ishii@postgresql.org>)
Re: pg_ctl failover Re: Latches, signals, and waiting  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Список pgsql-hackers
On Sat, Jan 29, 2011 at 1:11 AM, Tatsuo Ishii <ishii@postgresql.org> wrote:
> Ok. I will write a C user function and add to pgpool source tree. I
> think it will be fairly easy to create a trigger file in the function.

If the "pg_ctl promote" patch will have been committed, I recommend that
the C function should send the signal to the startup process rather than
creating the trigger file. Because the trigger file is checked every for 5s,
which would lengthen the failover time by an average 2.5s.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Include WAL in base backup
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: We need to log aborted autovacuums