Re: Time for Vacuum vs. Vacuum Full

Поиск
Список
Период
Сортировка
От Vivek Khera
Тема Re: Time for Vacuum vs. Vacuum Full
Дата
Msg-id B0138841-DF48-46CE-BB79-A9C3576AE4A4@khera.org
обсуждение исходный текст
Ответ на Time for Vacuum vs. Vacuum Full  (Brad Nicholson <bnichols@ca.afilias.info>)
Ответы Re: Time for Vacuum vs. Vacuum Full
Список pgsql-general
On Aug 9, 2007, at 9:38 AM, Brad Nicholson wrote:

> I have the times that it takes to to do a regular
> vacuum on the clusters, will vacuum full take longer?

almost certainly it will, since it has to move data to compact pages
rather than just tagging the rows as reusable.

you can speed things up by dropping your indexes first, then running
vacuum full, then re-creating your indexes.  this will make for
better (more compact) indexes too.

as for how much longer, I don't know how to estimate that.


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

Предыдущее
От: Kenneth Downs
Дата:
Сообщение: Re: Interesting abilities of substring
Следующее
От: André Volpato
Дата:
Сообщение: Re: Data Mart with Postgres