Re: vacuum, performance, and MVCC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: vacuum, performance, and MVCC
Дата
Msg-id 17653.1151088962@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: vacuum, performance, and MVCC  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: vacuum, performance, and MVCC  (Bruce Momjian <bruce@momjian.us>)
Re: vacuum, performance, and MVCC  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Re: vacuum, performance, and MVCC  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Re: vacuum, performance, and MVCC  (PFC <lists@peufeu.com>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> I think at some point we have to admit that _polling_ the tables, which
> is what autovacuum does, just isn't going to work well, no matter how
> much it is tweeked, and another approach should be considered for
> certain workload cases.

Autovacuum polls in its current, first-generation implementation;
what I said upthread was it needs to be smarter than that.  I am not
sure how you get from that to the conclusion that the very next step
is to abandon the vacuuming approach altogether.

What I see in this discussion is a huge amount of "the grass must be
greener on the other side" syndrome, and hardly any recognition that
every technique has its downsides and complications.  Furthermore,
I do not believe that this project has the ability to support multiple
fundamental storage models, as a number of people seem to be blithely
suggesting.  We're having a hard enough time debugging and optimizing
*one* storage model.  I think the correct path forward is to stick with
the same basic storage model and vacuuming concept, and address the
known performance issues with better-optimized vacuuming.  No, it will
never be perfect for every scenario, but we can certainly make it much
better than it is now, without risking killing the project by
introducing undebuggable, unmaintainable complexity.
        regards, tom lane


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

Предыдущее
От: "Mark Woodward"
Дата:
Сообщение: Re: vacuum, performance, and MVCC
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: vacuum, performance, and MVCC