Re: Block-level CRC checks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Block-level CRC checks
Дата
Msg-id 10407.1222904484@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Block-level CRC checks  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: Block-level CRC checks
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> a) You wouldn't have to keep the lock while doing the I/O.

Hoo, yeah, so the period of holding the share-lock could well be
*shorter* than it is now.  Most especially so if the write() blocks
instead of just transferring the data to kernel space and returning.

I wonder whether that could mean that it's a win to double-buffer
even if we aren't computing a checksum?  Nah, probably not.
        regards, tom lane


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Block-level CRC checks
Следующее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: September CommitFest Closed