Re: Time for Vacuum vs. Vacuum Full

From: Vivek Khera <vivek(at)khera(dot)org>
To: PG-General Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Time for Vacuum vs. Vacuum Full
Date: 2007-08-09 14:22:57
Message-ID: B0138841-DF48-46CE-BB79-A9C3576AE4A4@khera.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John Coulthard 2007-08-09 14:51:26 Unable to connect to PostgreSQL server via PHP
Previous Message Kenneth Downs 2007-08-09 13:51:15 Re: Interesting abilities of substring