Re: Update is very slow on a bigger table - Mailing list pgsql-sql

From Dimitar Georgievski
Subject Re: Update is very slow on a bigger table
Date
Msg-id 1082126436.12136.46.camel@hklog
Whole thread Raw
In response to Re: Update is very slow on a bigger table  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
Tom,

Yes. it looks like there was some locking condition in the database. in
the meantime it disappeared and the updates run quickly. 

thanks for your help. this is the first time i'm working with PostgreSQL
and wasn't sure where to look for possible causes of the problem.

thanks,

dimitar

On Thu, 2004-04-15 at 18:51, Tom Lane wrote:
> Dimitar Georgievski <dgeorgievski@horizonk.com> writes:
> > the process under which the update is running reports among the usual
> > process data "UPDATE waiting".
> 
> I don't think the UPDATE is doing anything at all --- that ps output
> implies that it's waiting for some other backend to release an exclusive
> lock on the table, or an update lock on one of the rows to be updated.
> 
> The pg_locks view might help you determine who's the culprit.
> 
>             regards, tom lane



pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: Update is very slow on a bigger table
Next
From: Pallav Kalva
Date:
Subject: Querying two databases