pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: André José Guergolet <AGuergolet@compugraf.com.br>
Cc: Andrew Sullivan <ajs@crankycanuck.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: RES: Lock Problem
Date: Fri, 25 Aug 2006 06:52:34 -0400
Message-ID: <20060825105234.GA25981@phlogiston.dyndns.org> (raw)
In-Reply-To: <3FFA1818C1550246933DEA311C39B07612304A@CGEXC03.compugraf.com.br>
References: <3FFA1818C1550246933DEA311C39B07612304A@CGEXC03.compugraf.com.br>

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



view thread (5+ messages)

Message-ID: <20060825105234.GA25981@phlogiston.dyndns.org>
Permalink:  ../20060825105234.GA25981@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20060825105234.GA25981@phlogiston.dyndns.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ajs@crankycanuck.ca, AGuergolet@compugraf.com.br
  Subject: Re: RES: Lock Problem
  In-Reply-To: <20060825105234.GA25981@phlogiston.dyndns.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox