Re: Vacuuming on heavily changed databases

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Vacuuming on heavily changed databases
Дата
Msg-id 20080519151907.GC14142@svana.org
обсуждение исходный текст
Ответ на Vacuuming on heavily changed databases  (Bohdan Linda <bohdan.linda@seznam.cz>)
Список pgsql-general
Apart from reinterating what someone else: you're not vacuuming
anywhere near often often. Normal vacuum takes no locks.

On Mon, May 19, 2008 at 04:50:18PM +0200, Bohdan Linda wrote:
> 3) There were suggestions (in archives) doing dump and then restore on
> dropped database, but still requires downtime.

CLUSTER will rebuild the table with only the actually used records in
it. It also requires an exclusive lock so try to keep it small :)

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

Вложения

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

Предыдущее
От: "Harald Armin Massa"
Дата:
Сообщение: Re: Vacuuming on heavily changed databases
Следующее
От: Bohdan Linda
Дата:
Сообщение: Re: Vacuuming on heavily changed databases