Re: I don't want to back up index files

Поиск
Список
Период
Сортировка
От Glen Parker
Тема Re: I don't want to back up index files
Дата
Msg-id 49B86EC8.1060104@nwlink.com
обсуждение исходный текст
Ответ на Re: I don't want to back up index files  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: I don't want to back up index files  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
>> FWIW I don't think this idea is silly at all.  It's so not-silly, in
>> fact, that we already have some access methods that do this if an index
>> cannot be recovered (I think at least GiST does it).
>
> Well, there's a difference between "rebuild the index when it can't be
> recovered" and "lose the index anytime the system burps".  AFAICS what
> Glen is proposing is to not WAL-log index changes, and with that any
> crash no matter how minor would have to invalidate indexes.

Nooo...!  This has nothing to do with WAL logging index changes.  What I
propose would have no effect on an end user that continues to back up
indexes.  It would give people the *option* to not back up indexes.

This is about disaster recovery and the backups required to recover
sanely, not about hiccups that cause only the last handful of
transactions to be redone.

Causing invalidation of indexes after a crash might be acceptable in
some settings, but not in mine, and that isn't what I'm after.

-Glen


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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: I don't want to back up index files
Следующее
От: Glen Parker
Дата:
Сообщение: Re: I don't want to back up index files