Re: mmap for zeroing WAL log

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: mmap for zeroing WAL log
Дата
Msg-id 13140.983312703@sss.pgh.pa.us
обсуждение исходный текст
Ответ на mmap for zeroing WAL log  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: mmap for zeroing WAL log
Список pgsql-hackers
Matthew Kirkwood <matthew@hairy.beasts.org> writes:
> I had assumed that the overhead would come from synchronous
> metadata incurring writes of at least the inode, block bitmap
> and probably an indirect block for each syscall.

No Unix that I've ever heard of forces metadata to disk after each
"write" call; anyone who tried it would have abysmal performance.
That's what fsync and the syncer daemon are for.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: regression.out and regression.diff
Следующее
От: Matthew Kirkwood
Дата:
Сообщение: Re: mmap for zeroing WAL log