Re: Fast Shutdown (SIGINT) results in a CHECKPOINT...

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Fast Shutdown (SIGINT) results in a CHECKPOINT...
Дата
Msg-id 514A2241.7000202@gmx.net
обсуждение исходный текст
Ответ на Fast Shutdown (SIGINT) results in a CHECKPOINT...  (Sean Chittenden <sean@chittenden.org>)
Список pgsql-general
On 3/20/13 4:28 PM, Sean Chittenden wrote:
> For a while now I've known that sending a SIGINT can trigger a CHECKPOINT, but I don't know if this is intentional or
abug. 

It's intentional.  If you don't want that, use SIGQUIT.  That's how they
are different.

Of course, when using SIGQUIT, you will have to spend the time you saved
on the checkpoint for the recovery at startup.  So you have to put in
the time either way.

It is not unheard of that a shutdown can take minutes.  That's why the
-t option was added to pg_ctl some time ago.



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

Предыдущее
От: David Rees
Дата:
Сообщение: Re: Can't terminate hung COPY
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: State of the art re: group default privileges