Re: Update is very slow on a bigger table

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Dimitar Georgievski <dgeorgievski(at)horizonk(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Update is very slow on a bigger table
Date: 2004-04-15 22:51:43
Message-ID: 21949.1082069503@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Dimitar Georgievski <dgeorgievski(at)horizonk(dot)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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message CoL 2004-04-15 22:53:53 Re: Update is very slow on a bigger table
Previous Message Dimitar Georgievski 2004-04-15 21:07:07 Update is very slow on a bigger table