Re: auto-vacuum conflicting with long running analyze - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: auto-vacuum conflicting with long running analyze
Date
Msg-id 20080405182910.GD12256@alvh.no-ip.org
Whole thread Raw
In response to auto-vacuum conflicting with long running analyze  (Shane Ambler <pgsql@Sheeky.Biz>)
Responses Re: auto-vacuum conflicting with long running analyze  (Shane Ambler <pgsql@Sheeky.Biz>)
Re: auto-vacuum conflicting with long running analyze  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Shane Ambler wrote:

> Given that the analyze will obviously take a long time, is this scenario  
> likely to happen with 8.3.1? or has it been fixed since 8.1.x?

In 8.3, autovacuum cancels itself if it sees it is conflicting with
another query.

> Would this be the issue fixed in 8.1.1? -
> Prevent autovacuum from crashing during ANALYZE of expression index

Unrelated.

> Or is it in various autovacuum improvements from 8.3.0 ?

Yes.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Shane Ambler
Date:
Subject: auto-vacuum conflicting with long running analyze
Next
From: Shane Ambler
Date:
Subject: Re: auto-vacuum conflicting with long running analyze