Re: deadlock under load - Mailing list pgsql-performance

From Tom Lane
Subject Re: deadlock under load
Date
Msg-id 13447.1354291034@sss.pgh.pa.us
Whole thread Raw
In response to deadlock under load  (Bob Jolliffe <bobjolliffe@gmail.com>)
Responses Re: deadlock under load
List pgsql-performance
Bob Jolliffe <bobjolliffe@gmail.com> writes:
> We am running a web application on ubuntu 10.10 using postgres 8.4.3.

Current release in that branch is 8.4.14.  (By this time next week
it'll be 8.4.15.)  You are missing a lot of bug fixes:
http://www.postgresql.org/docs/8.4/static/release.html

> Trying to interpret this, does this mean that the autovacuum process is
> holding a lock which is required tn order to complete the select
> query?

Possibly.  Looking into the pg_locks view would tell you more.

            regards, tom lane


pgsql-performance by date:

Previous
From: Niels Kristian Schjødt
Date:
Subject: Re: Optimize update query
Next
From: Shaun Thomas
Date:
Subject: Re: Optimize update query