Re: Immediate shutdown and system(3)

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: Immediate shutdown and system(3)
Дата
Msg-id 20090303123550.8F21.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Immediate shutdown and system(3)  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> wrote:

> 1. Implement a custom version of system(3) using fork+exec that let's us 
> trap SIGQUIT and send e.g SIGTERM or SIGINT to the child instead. It 
> might be a bit tricky to get this right in a portable way; Windows would 
> certainly need a completely separate implementation.

I think the custom system() approach is the most ideal plan for us because
it could open the door for faster recovery; If there were an asynchronous
version of system(), startup process could parallelly execute both
restoring archived wal files and redoing operations in them.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: statistics horribly broken for row-wise comparison
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: V4 of PITR performance improvement for 8.4