Re: RES: Lock Problem - Mailing list pgsql-sql

From Andrew Sullivan
Subject Re: RES: Lock Problem
Date
Msg-id 20060825105234.GA25981@phlogiston.dyndns.org
Whole thread Raw
In response to RES: Lock Problem  (André José Guergolet <AGuergolet@compugraf.com.br>)
List 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@crankycanuck.ca
In the future this spectacle of the middle classes shocking the avant-
garde will probably become the textbook definition of Postmodernism.                --Brad Holland


pgsql-sql by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Importing data from csv
Next
From: "Henry Ortega"
Date:
Subject: Best way to do this query..