pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Lock Problem
2+ messages / 2 participants
[nested] [flat]

* Lock Problem
@ 2006-08-24 20:27  André José Guergolet <AGuergolet@compugraf.com.br>
  0 siblings, 1 reply; 2+ messages in thread

From: André José Guergolet @ 2006-08-24 20:27 UTC (permalink / raw)
  To: pgsql-sql

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?
 
Thanks, and sorry about my english.
 

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Lock Problem
@ 2006-08-24 20:52  Andrew Sullivan <ajs@crankycanuck.ca>
  parent: André José Guergolet <AGuergolet@compugraf.com.br>
  0 siblings, 0 replies; 2+ messages in thread

From: Andrew Sullivan @ 2006-08-24 20:52 UTC (permalink / raw)
  To: 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@crankycanuck.ca
The plural of anecdote is not data.
		--Roger Brinner



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-08-24 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-08-24 20:27 Lock Problem André José Guergolet <AGuergolet@compugraf.com.br>
2006-08-24 20:52 ` Andrew Sullivan <ajs@crankycanuck.ca>

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