Re: Point in time recovery: recreating relation files

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: Point in time recovery: recreating relation files
Дата
Msg-id 20020308095257I.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: Point in time recovery: recreating relation files  (Marc Munro <marc@bloodnok.com>)
Список pgsql-hackers
> Could someone explain to this poor newbie (who is hoping to implement
> this) exactly what the issue is here?  Like Tom, I could originally see
> no reason to worry about the LSN for file creation but I am very
> concerned that I have failed to grasp Tatsuo's concerns.
> 
> Is there some reason why the relfilenode might change either during or
> as a result of recovery?  Unless I have missed the point again, during
> recovery we must recreate files with exactly the same path, name and
> relfilenode as they would have originally been created, and in the same
> order relative to the creation of the relation.  I see no scope for
> anything to be different.

Sorry for the confusion. I'm not very familiar with other DBMSs, and I
just don't know what kind of features for point in time recovery in
them could provide. One a scenario I could imagine is recovering
single table with different name. I'm not sure this is implemented by
other DBMS though.

BTW, next issue would be TRUCATE and CREATE/DROP DATABASE.
I regard this is not currently supported by WAL.
--
Tatsuo Ishii


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: point in time recovery and moving datafiles online
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_class -> reltuples?