Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation" - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation"
Date
Msg-id 4BC87D530200002500030A18@gw.wicourts.gov
Whole thread Raw
In response to Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation"  (Alexandre Leclerc <aleclerc@ipso.ca>)
List pgsql-admin
Alexandre Leclerc <aleclerc@ipso.ca> wrote:

> The vacuum raised a "max_fsm_pages" of 142000 not enought and
> stopped.

That's probably just a warning that it wasn't able to track all the
dead space -- I would expect that.  You're going to want to clean up
the bloat anyway.  I would try a pg_dumpall at this point.  If it
works, you might just be in good shape.  I would try hard to keep
the old database when restoring it, and I recommend VACUUM ANALYZE
after restoring it.  Then I would do some sanity checks to make sure
it looks like all the data is there and sound.

If it doesn't let you in with normal connections because other
databases are close to wrap-around, you'll have to vacuum those, but
that should be fast.  However, before any other vacuums on that
cluster, I would try to copy the database off to some backup medium
(with the service stopped).  If you have time, it's a very good idea
anyway.

I hope it all works out.

-Kevin

pgsql-admin by date:

Previous
From: robin
Date:
Subject: Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation"
Next
From: Tom Lane
Date:
Subject: Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation"