Re: fallocate / posix_fallocate for new WAL file creation (etc...)

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Дата
Msg-id 20130530122053.GA14029@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: fallocate / posix_fallocate for new WAL file creation (etc...)  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Список pgsql-hackers
On 2013-05-30 08:19:17 -0400, Peter Eisentraut wrote:
> On 5/30/13 8:02 AM, Robert Haas wrote:
> > If there's some OS out
> > there that chooses to fill the pre-extended pages with 0x55 or cat
> > /dev/urandom instead of 0x00, they probably deserve what they get.
> 
> Even that wouldn't be a problem for our purpose.  The only problem would
> be if you can't read from the allocated region at all.

Well, only as long as we only use it for preallocation of wal files. I
am much, much more interested in doing that for the heap. And there that
surely would be a problem.

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: fallocate / posix_fallocate for new WAL file creation (etc...)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: fallocate / posix_fallocate for new WAL file creation (etc...)