Re: fallocate / posix_fallocate for new WAL file creation (etc...)
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: fallocate / posix_fallocate for new WAL file creation (etc...) |
| Дата | |
| Msg-id | 51A60CE6.9020607@gmx.net обсуждение исходный текст |
| Ответ на | Re: fallocate / posix_fallocate for new WAL file creation (etc...) (Greg Smith <greg@2ndQuadrant.com>) |
| Ответы |
Re: fallocate / posix_fallocate for new WAL file creation
(etc...)
|
| Список | pgsql-hackers |
On 5/28/13 11:36 AM, Greg Smith wrote: > Outside of the run for performance testing, I think it would be good at > this point to validate that there is really a 16MB file full of zeroes > resulting from these operations. I am not really concerned that > posix_fallocate might be slower in some cases; that seems unlikely. I > am concerned that it might result in a file that isn't structurally the > same as the 16MB of zero writes implementation used now. I see nothing in the posix_fallocate() man pages that says that the allocated space is filled with any kind of data or zeroes. It will likely be garbage data, but that should be fine for a new WAL file.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера