Re: synchronized scans for VACUUM

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: synchronized scans for VACUUM
Дата
Msg-id 11710.1212286132@sss.pgh.pa.us
обсуждение исходный текст
Ответ на synchronized scans for VACUUM  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: synchronized scans for VACUUM
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> The objections to synchronized scans for VACUUM as listed in that thread
> (summary):

> 2. vacuum takes breaks from the scan to clean up the indexes when it
> runs out of maintenance_work_mem.

> 2. There have been suggestions about a more compact representation for
> the tuple id list. If this works, it will solve this problem.

It will certainly not "solve" the problem.  What it will do is mean that
the breaks are further apart and longer, which seems to me to make the
conflict with syncscan behavior worse not better.

> 3. vacuum takes breaks for the cost delay

> 3. Offering synchronized vacuums could reduce the need for these
> elective pauses. 

How so?  A vacuum that happens not to be part of a syncscan herd is
going to be just as bad for system performance as ever.


It still seems to me that vacuum is unlikely to be a productive member
of a syncscan herd --- it just isn't going to have similar scan-speed
behavior to typical queries.
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Overhauling GUCS
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Overhauling GUCS