Optimize crash recovery

Поиск
Список
Период
Сортировка
От Thunder
Тема Optimize crash recovery
Дата
Msg-id 5244638a.7ea7.170d4699bac.Coremail.thunder1@126.com
обсуждение исходный текст
Ответы Re: Optimize crash recovery  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Hello hackers:

During crash recovery, we compare most of the lsn of xlog record with page lsn to determine if the record has already been replayed.
The exceptions are full-page and init-page xlog records.
It's restored if the xlog record includes a full-page image of the page.
And it initializes the page if the xlog record include init page information.

When we enable checksum for the page and verify page success, can we compare the page lsn with the lsn of full-page xlog record or init page xlog record to detemine it  has already been replayed?

BRS
Ray


 

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Refactor compile-time assertion checks for C/C++
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Optimize crash recovery