Re: Vacuuming on heavily changed databases - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Vacuuming on heavily changed databases
Date
Msg-id 20080519151907.GC14142@svana.org
Whole thread Raw
In response to Vacuuming on heavily changed databases  (Bohdan Linda <bohdan.linda@seznam.cz>)
List 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.

Attachment

pgsql-general by date:

Previous
From: "Harald Armin Massa"
Date:
Subject: Re: Vacuuming on heavily changed databases
Next
From: Bohdan Linda
Date:
Subject: Re: Vacuuming on heavily changed databases