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 22:47:36
Message-ID: 24240.1208126856@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Paragon" <lr(at)pcorp(dot)us> writes:
>> Sure looks like a near-idle machine to me :-(.

>> I think that the vacuum must be stuck on a lock. What other Postgres
>> processes have you got, and what are they doing?

> Originally I thought it was the autovacuuming getting in the way since I
> noticed sometimes it was trying to vacuum the tables I was trying to vacuum
> and autovacuuming was taking a long time, but I had turned autovacuuming off
> during bulk load process period to prevent this.

Hmm ... another reason for vacuum running really slowly would be poor
choices of vacuum_cost parameters --- have you got those set to
nondefault values?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-04-13 23:08:47 Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables
Previous Message Paragon 2008-04-13 22:02:12 Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables