| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] WAL logging freezing |
| Дата | |
| Msg-id | 29850.1162311820@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | WAL logging freezing (Heikki Linnakangas <heikki@enterprisedb.com>) |
| Список | pgsql-patches |
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Simon Riggs wrote:
>> Ouch! We did discuss that also. Flushing the buffercache is nasty with
>> very large caches, so this makes autovacuum much less friendly - and
>> could take a seriously long time if you enforce the vacuum delay
>> costings.
> Hmm, isn't the buffer cache aware of a vacuum operation?
Yeah. What would probably happen is that we'd dump off most of the
dirtied pages to the kernel, which would likely still have a lot of them
in kernel buffers pending write. But then we'd have to fsync the table
--- so a physical write storm would ensue, which we have no way to
throttle.
I think the don't-truncate-clog approach is a much better answer.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера