Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables - Mailing list pgsql-general

From Dragan Zubac
Subject Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables
Date
Msg-id 480295D1.2090702@vlayko.tv
Whole thread Raw
In response to Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hello

If Your 'vacuum verbose analyze table' ends pretty fast,and Your 'vacuum
full verbose analyze table' never ends,watch for 'select count (*) from
pg_locks',might be that You have some heavy load transaction processing
on that table,so 'vacuum full....' wait for transactions to end. If
possible kill all processes that access that table and try 'vacuum full
verbose analyze table'. Anyway,if processor is mostly idle,always check
'select count (*) from pg_locks' , at least in my experience.

Sincerely

Dragan Zubac

Tom Lane wrote:
> "Paragon" <lr@pcorp.us> writes:
>
>> Right now I have
>> vacuum_cost_delay = 600
>>
>
> Yikes.  That's *way* too high.  If you're trying to get the vacuum to
> complete quickly, it really should be zero anyway.  Nonzero is for when
> you don't care how long vacuum takes as long as it's not sucking too much
> I/O from your real work.
>
>             regards, tom lane
>
>


pgsql-general by date:

Previous
From: "Paragon"
Date:
Subject: Re: VACUUM hanging on PostgreSQL 8.3.1 for larger tables
Next
From: Stefan Schwarzer
Date:
Subject: The default text search configuration will be set to "simple" ?