Re: Some thoughts about i/o priorities and throttling vacuum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Some thoughts about i/o priorities and throttling vacuum
Дата
Msg-id 23258.1066406032@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Some thoughts about i/o priorities and throttling vacuum  (Shridhar Daithankar <shridhar_daithankar@persistent.co.in>)
Список pgsql-hackers
Shridhar Daithankar <shridhar_daithankar@persistent.co.in> writes:
> I agree. This seems to be the best way of dealing with things. Of course, 
> probably there are details we are missing here, but in general its good.

Actually, this is all pure handwaving, because you are ignoring the need
to remove index tuples.  The existing VACUUM code amortizes index
cleanup over as many tuples as it can.  If you do partial vacuuming of
tables then you are necessarily going to be expending more cycles (and
I/O) per tuple, on average, to get rid of the index entries.  It's not
at all clear that there's any real win to be had in that direction.
Perhaps it's a win, but you have no evidence on which to assert so.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Some more information_schema issues
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Some thoughts about i/o priorities and throttling vacuum