Re: 9.4 regression

Поиск
Список
Период
Сортировка
От KONDO Mitsumasa
Тема Re: 9.4 regression
Дата
Msg-id 522835A8.1040701@lab.ntt.co.jp
обсуждение исходный текст
Ответ на Re: 9.4 regression  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
(2013/09/05 0:04), Andres Freund wrote:
 > I'd vote for adding zeroing *after* the fallocate() first.
+1, with FALLOC_FL_KEEP_SIZE flag.

At least, fallocate with FALLOC_FL_KEEP_SIZE flag is faster than nothing in my
developing sorted checkpoint. I adopted it to relation file, so I don't know
about WAL file.

With FALLOC_FL_KEEP_SIZE flag does not change file size and not do zero fill. It
seems to only get continuous physical disk space in file system.

Here is draft patch.

Regards,
--
Mitsumasa KONDO
NTT Open Source Software Center

Вложения

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

Предыдущее
От: Atri Sharma
Дата:
Сообщение: Re: [rfc] overhauling pgstat.stat
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Improving avg performance for numeric