Re: [HACKERS] Questions about bufmgr

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [HACKERS] Questions about bufmgr
Дата
Msg-id 37F9C766.1F753DC7@krs.ru
обсуждение исходный текст
Ответ на Questions about bufmgr  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
Hiroshi Inoue wrote:
> 
> I'm trying to fix a TODO item
> * spinlock stuck problem when elog(FATAL) and elog(ERROR) inside bufmgr

...

> And I have other questions which are irrevalent to the TODO item.
> 
> 1. Why does BufferReplace() call smgrflush()(not smgrwrite()) ?
>     Are there any reasons that we couldn't postpone fsync() until
>     commit ?
> 
> 2. Why does FlushRelationBuffers() call FlushBuffer() ?
>     Isn't it a overhead to call fsync() per page ?

Pleeease don't touch bufmgr for the moment - it will be
changed due to WAL implementation. Currently I do data 
base startup/shutdown stuff but will switch to bufmgr
in 1-2 days.

Vadim


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

Предыдущее
От: "Hiroshi Inoue"
Дата:
Сообщение: Questions about bufmgr
Следующее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] Planner drops unreferenced tables --- bug, no?