Re: RES: Lock Problem

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: André José Guergolet <AGuergolet(at)compugraf(dot)com(dot)br>
Cc: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>, pgsql-sql(at)postgresql(dot)org
Subject: Re: RES: Lock Problem
Date: 2006-08-25 10:52:34
Message-ID: 20060825105234.GA25981@phlogiston.dyndns.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, Aug 24, 2006 at 06:12:32PM -0300, André José Guergolet wrote:
>
> My system, checks if my script is running in each machine at this
> table, this table has 360 rows and has 50-100 updates per minute in
> columns STATE and STATEDATE.

How often are you vacuuming it? Long-running UPDATEs with that many
updates per minure makes me think that maybe you have a lot of dead
rows.

Anyway, none of this supports your claim that you're getting table
locks. The place to see what locks you are getting is pg_locks.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
In the future this spectacle of the middle classes shocking the avant-
garde will probably become the textbook definition of Postmodernism.
--Brad Holland

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Henry Ortega 2006-08-25 20:16:07 Best way to do this query..
Previous Message Michael Fuhr 2006-08-25 06:06:14 Re: Importing data from csv