Re: Vacuum questions - Mailing list pgsql-admin

From Tom Lane
Subject Re: Vacuum questions
Date
Msg-id 3243.1110958068@sss.pgh.pa.us
Whole thread Raw
In response to Vacuum questions  ("Chris Hoover" <revoohc@sermonaudio.com>)
Responses Re: Vacuum questions
List pgsql-admin
"Chris Hoover" <revoohc@sermonaudio.com> writes:
> We have also had one test occurrence where after the upgrade, a vacuum
> full would not recover the space.  However, when we bounced the
> postmaster, and then performed a vacuum full, the space was recovered.
> Any ideas on what might cause this?

Most likely, you had an open transaction lurking that was old enough
that it could still "see" the deleted data, and so VACUUM couldn't
safely reclaim the data.

VACUUM's decisions about this are cluster-wide; so even though you'd
recently created the database in question, a long-running transaction
in another database under the same postmaster could still cause the
problem.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Werner vd Merwe"
Date:
Subject: Re: Performance Question
Next
From: "Wes Williams"
Date:
Subject: Re: FYI: Interview with Josh Berkus at Mad Penguin