Skip site navigation (1) Skip section navigation (2)

Re: Postgres locking up?

From: Robert Becker Cope <robert(at)gonkgonk(dot)com>
To: bhurt(at)janestcapital(dot)com, pgsql-performance(at)postgresql(dot)org,pgsql-novice(at)postgresql(dot)org
Subject: Re: Postgres locking up?
Date: 2006-09-30 00:53:46
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-performance
Brian Hurt <bhurt(at)janestcapital(dot)com> wrote:

> I'm experiencing a problem with our postgres database. Queries that
> normally take seconds suddenly start taking hours, if they complete at
> all.

Do you have any long running transactions? I have noticed that with Postgres
8.1.x, a long running transaction combined with other transactions over a long
enough time period can very predictably lead to this type of behavior

One simple way to see if you have any long running transactions is to look for
PIDs that are "idle in transaction" for long periods of time.


pgsql-performance by date

Next:From: Nimesh SatamDate: 2006-09-30 09:25:54
Subject: Table not getting vaccumed.
Previous:From: Tom LaneDate: 2006-09-29 21:58:52
Subject: Re: cont. how to optimize postgres 8.1

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group