Re: Vacuum improvement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Vacuum improvement
Дата
Msg-id 24055.1034777854@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Vacuum improvement  (Hannu Krosing <hannu@tm.ee>)
Список pgsql-hackers
Hannu Krosing <hannu@tm.ee> writes:
> meaning to VACUUM FULL the whole table, but to work in small chunks and
> relaese all locks and let others access the tables between these ?

AFAICS this is impossible for VACUUM FULL.  You can't let other accesses
in and then resume processing, because that invalidates all the state
you have about where to put moved tuples.

But the whole point of developing non-FULL vacuuming was to make
something that could be run concurrently with other stuff.  I fail
to see the point of insisting that frequent vacuums be FULL.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: droped out precise time calculations in src/interfaces/libpq/fe-connect.c
Следующее
От: Greg Copeland
Дата:
Сообщение: Re: Postgresql and multithreading