Re: auto-vacuum conflicting with long running analyze

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Shane Ambler <pgsql(at)Sheeky(dot)Biz>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: auto-vacuum conflicting with long running analyze
Date: 2008-04-05 18:29:10
Message-ID: 20080405182910.GD12256@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shane Ambler 2008-04-05 18:37:15 Re: auto-vacuum conflicting with long running analyze
Previous Message Shane Ambler 2008-04-05 18:15:46 auto-vacuum conflicting with long running analyze