Re: [PATCHES] Trivial patch to double vacuum speed on tables with no indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Trivial patch to double vacuum speed on tables with no indexes
Дата
Msg-id 1540.1156698751@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Trivial patch to double vacuum speed on tables with no indexes  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: [PATCHES] Trivial patch to double vacuum speed on tables with no indexes  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
>> How often does that case come up in the real world, for tables that are
>> large enough that you'd care about vacuum performance?

> I would have had the same objection if it resulted in substantially more
> complex code but it was so simple that it doesn't seem like a concern.

The reason the patch is so short is that it's a kluge.  If we really
cared about supporting this case, more wide-ranging changes would be
needed (eg, there's no need to eat maintenance_work_mem worth of RAM
for the dead-TIDs array); and a decent respect to the opinions of
mankind would require some attention to updating the header comments
and function descriptions, too.

            regards, tom lane

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: integration of pgcluster into postgresql
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: integration of pgcluster into postgresql