| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера