Re: Answering my own question - Mailing list pgsql-novice

From Adam Erickson
Subject Re: Answering my own question
Date
Msg-id ALEKKHACBIAEBNBPFKPCAEJCCOAA.adamre@cox.net
Whole thread Raw
In response to Re: Answering my own question  (gerry.smit@lombard.ca)
List pgsql-novice
> As in another post, VACUUM ANALYZE has fixed my index, optimer, query plan
> problem.
>
> A follow-up question I have is about VACUUM FULL.
>
> There's no mention of "FULL" as an arguement to VACUUM in the 7.1.3
> doc/html  on-line reference manual.  Was FULL added to a later release?

The changed vacuum in 7.[something].  Among other things, which I am unaware
of, vacuum no longer frees physical disk space when cleaning up tables.
Instead, it frees space in the file for pg to reuse.  VACUUM FULL was then
added for those who wanted vacuum to behave as it did before.

One nice thing about the new behavior is that it no longer needs to lock the
tables during vacuum.  Doing a vacuum full will lock the table though.

-Adam


pgsql-novice by date:

Previous
From: Tom Ansley
Date:
Subject: Casting from varchar to numeric
Next
From: "Josh Berkus"
Date:
Subject: Re: Casting from varchar to numeric