| От | Tom Lane |
|---|---|
| Тема | Re: Block at a time ... |
| Дата | |
| Msg-id | 27894.1268836024@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Block at a time ... (Greg Stark <gsstark@mit.edu>) |
| Ответы |
Re: Block at a time ...
|
| Список | pgsql-performance |
Greg Stark <gsstark@mit.edu> writes:
> I think we need posix_fallocate().
The problem with posix_fallocate (other than questionable portability)
is that it doesn't appear to guarantee anything at all about what is in
the space it allocates. Worst case, we might find valid-looking
Postgres data there (eg, because a block was recycled from some recently
dropped table). If we have to write something anyway to zero the space,
what's the point?
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера