Re: VACUUM FULL ANALYSE hanging

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: VACUUM FULL ANALYSE hanging
Дата
Msg-id 1178120459.2953.16.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на VACUUM FULL ANALYSE hanging  ("Gabriele Bartolini" <g.bartolini@comune.prato.it>)
Ответы R: VACUUM FULL ANALYSE hanging
Список 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 по дате отправления:

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: reindexdb hangs
Следующее
От: "dx k9"
Дата:
Сообщение: Re: reindexdb hangs