Re: 9.2.3 crashes during archive recovery

Поиск
Список
Период
Сортировка
От Kyotaro HORIGUCHI
Тема Re: 9.2.3 crashes during archive recovery
Дата
Msg-id 20130226.155204.115316458.horiguchi.kyotaro@lab.ntt.co.jp
обсуждение исходный текст
Ответ на Re: 9.2.3 crashes during archive recovery  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
However this has become useless, I want to explain about how this
works.

> > I tried to postpone smgrtruncate TO the next checktpoint.
> 
> Umm, why? I don't understand this patch at all.

This inhibits truncate files after (quite vague in the patch:-)
the previous checkpoint by hindering the deleted tuples from
vacuum then hindering the vm pages from truncation. They are
truncated only If no tuples is deleted on the pages correspond to
them since the last checkpoint. Finally any nonexistent pages in
visibility maps won't be touched after the consistency point -
which is after the last checkpoint - on archive recovery.

# Umm.. sorry for confused explanation...

regards,

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: 9.2.3 crashes during archive recovery
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [PATCH] Add PQconninfoParseParams and PQconninfodefaultsMerge to libpq