Re: Lock Problem

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Lock Problem
Date: 2006-08-24 20:52:55
Message-ID: 20060824205255.GA24499@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, Aug 24, 2006 at 05:27:58PM -0300, André José Guergolet wrote:
> Hello all, I'm using the Postgres 8.0 and my product creates 7
> connections at the server.
>
> One of my connections do an update at a simple table with 360 rows
> and I've got many table locks. How I can take more scability?

It's pretty hard to tell, given what you're telling us. The UPDATE
will take a write-blocking lock on each of the rows for the duration
of the transaction. You shouldn't have any table locks, unless
you're not telling us something. You should post more detail. Why
do you think you have table locks, to begin with?

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
The plural of anecdote is not data.
--Roger Brinner

In response to

  • Lock Problem at 2006-08-24 20:27:58 from André José Guergolet

Browse pgsql-sql by date

  From Date Subject
Next Message André José Guergolet 2006-08-24 21:12:32 RES: Lock Problem
Previous Message André José Guergolet 2006-08-24 20:27:58 Lock Problem