Re: Why will vacuum not end? - Mailing list pgsql-performance

From Shea,Dan [CIS]
Subject Re: Why will vacuum not end?
Date
Msg-id F2D63B916C88C14D9B59F93C2A5DD33F0B924F@cisxa.cmc.int.ec.gc.ca
Whole thread Raw
In response to Why will vacuum not end?  ("Shea,Dan [CIS]" <Dan.Shea@ec.gc.ca>)
Responses Re: Why will vacuum not end?  (Josh Berkus <josh@agliodbs.com>)
Re: Why will vacuum not end?  (Manfred Koizar <mkoi-pg@aon.at>)
List pgsql-performance
Josh, how long should a vacuum take on a 87 GB table with a 39 GB index?

I do not think that the verbose option of vacuum is verbose enough.
The vacuum keeps redoing the index, but there is no indication as to why it
is doing this.

I see alot of activity with transaction logs being recycled (15 to 30 every
3 to 20 minutes).
Is the vacuum causing this?


-----Original Message-----
From: Josh Berkus [mailto:josh@agliodbs.com]
Sent: Friday, April 23, 2004 2:48 PM
To: Shea,Dan [CIS]; 'Christopher Kings-Lynne'
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] Why will vacuum not end?


Guys,

> Well, inserts create some locks - perhaps that's the problem...
>
> Otherwise, check the pg_locks view to see if you can figure it out.

FWIW, I've had this happen a couple of times, too.   Unfortunately, it's
happend in the middle of the day so that I had to cancel the processes and
get the system back to normal in too much of a hurry to consider documenting

it.

--
Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Rod Taylor
Date:
Subject: Re: order by index, and inheritance
Next
From: Josh Berkus
Date:
Subject: Re: Why will vacuum not end?