Re: VACUUM FULL ANALYSE hanging - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: VACUUM FULL ANALYSE hanging
Date
Msg-id 1178120459.2953.16.camel@state.g2switchworks.com
Whole thread Raw
In response to VACUUM FULL ANALYSE hanging  ("Gabriele Bartolini" <g.bartolini@comune.prato.it>)
Responses R: VACUUM FULL ANALYSE hanging  ("Gabriele Bartolini" <g.bartolini@comune.prato.it>)
List pgsql-admin
On Wed, 2007-05-02 at 05:05, Gabriele Bartolini wrote:
> Hi guys,
>
>    I am having problems with freeing disk space after a massive delete
> operation on a table that had approximately 80 million record. I
> ran the following command, by setting the vacuum memory to
> approximately a GigaByte:
>
> SET vacuum_mem TO 1024000
> VACUUM FULL ANALYSE VERBOSE oltp.requests
>
> Here is what I get:

SNIP

> DETAIL:  8211835 index row versions were removed.
> 73821 index pages have been deleted, 73821 are currently reusable.
> CPU 17.06s/28.14u sec elapsed 319.16 sec.
>
>    But here, the command simply hangs.
>
>    The table description is:

Maybe it's hanging, maybe it's just taking a really long time to finish
and get back to you.

What's vmstat / top /iostat got to say about the machine during this
"hang"?

IF the I/O or CPU are high, then it's not hung, it's just taking a
while.

pgsql-admin by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: reindexdb hangs
Next
From: "dx k9"
Date:
Subject: Re: reindexdb hangs