Re: Unlogged tables, persistent kind

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unlogged tables, persistent kind
Дата
Msg-id 17903.1303680470@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Unlogged tables, persistent kind  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Unlogged tables, persistent kind  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> If you don't log changes to tables you have two choices if we crash
> 1) truncate the table and any indexes
> 2) rebuild any indexes damaged by the crash

No, you have only one choice, and that's (1), because there's no
guarantee that what's in the table file is meaningful.

> Heap blocks would be zeroed if they were found to be damaged, following a crash.

This is sheerest fantasy.  And even if you could implement it, what sort
of feature would you be offering?  "Your data is preserved except when
it isn't"?  People who want that can go use mysql.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: windows consolidated cleanup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: operator classes for index?