Re: Autovacuum degrades all other operations by keeping all buffersdirty?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Autovacuum degrades all other operations by keeping all buffersdirty?
Дата
Msg-id 20180831223147.f6papgxo7bb3xajd@alvherre.pgsql
обсуждение исходный текст
Ответ на Autovacuum degrades all other operations by keeping all buffers dirty?  (David Pacheco <dap@joyent.com>)
Ответы Re: Autovacuum degrades all other operations by keeping all buffersdirty?
Список pgsql-general
On 2018-Aug-31, David Pacheco wrote:

> From reading the 9.6.3 source, it looks like the autovacuum process
> itself is single-threaded, and it reads pages essentially linearly
> from the relation (possibly skipping some).  When the autovacuum
> process needs to modify a page, it doesn't write it directly, but
> rather marks the buffer dirty.  The page will be written later,

Unless there's some bug, there is a BufferAccessStrategy that only lets
a few dozen buffers go unwritten before the autovac worker process
itself is forced to write some.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: David Pacheco
Дата:
Сообщение: Autovacuum degrades all other operations by keeping all buffers dirty?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Autovacuum degrades all other operations by keeping all buffersdirty?