Re: why?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why?
Дата
Msg-id 29350.1010767351@sss.pgh.pa.us
обсуждение исходный текст
Ответ на why?  (Vince Vielhaber <vev@michvhf.com>)
Список pgsql-hackers
Vince Vielhaber <vev@michvhf.com> writes:
> Why does postgresql have to die if the disk fills up?  Can't it just
> go into an idle state and complain or something?

AFAIR the curl-up-and-die response only occurs if we fail to obtain
space for XLOG or CLOG files; failure to extend ordinary data files
isn't fatal.

I don't really see a way around stopping the system when XLOG or CLOG
is broken.  With transaction support not working you can't do anything.

A bright spot is that in 7.2, since we generally recycle rather than
delete/recreate XLOG files, adding space for XLOG is a rare event.
CLOG doesn't grow very fast either (2 bits per transaction).  So
you should be more likely to see out-of-space reflected as a user data
file extension failure before you run into XLOG/CLOG trouble.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: again on index usage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: again on index usage