Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Paragon" <lr(at)pcorp(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables
Date: 2008-04-13 04:43:52
Message-ID: 20227.1208061832@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Paragon" <lr(at)pcorp(dot)us> writes:
> I am running into problems vacuuming my larger tables. It seems for tables
> greater than 1 million rows, Vacuum just hangs. I could leave it running
> for hours and it never comes to completion.

Is it actually *doing* anything, like consuming CPU or I/O -- and if so
which? How much does VACUUM VERBOSE print before getting stuck?

> vmstat shows

vmstat without any arguments is very nearly useless, because what it
shows you is averages since system boot. Watch "vmstat 1" for awhile
and you will get an actual picture of what's happening.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Paragon 2008-04-13 05:21:40 Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables
Previous Message Paragon 2008-04-13 04:34:01 VACUUM hanging on PostgreSQL 8.3.1 for larger tables