pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Steben <msteben@autorevenue.com>
To: pgsql-admin@postgresql.org
Subject: row level locking
Date: Fri, 20 Jul 2007 14:19:36 -0400
Message-ID: <009c01c7cafa$874c2e60$b501a8c0@D1RPQZB1> (raw)

Hi listers,

I have a table that is accessed by only one transaction.  It has 1500 rows
each time that it processes 

This transaction.  As soon as this transaction ends, it waits 10 seconds and
starts again.  

It has another maximum 1500 rows loaded. .  

 

My question is this:  I believe a RowExclusive level lock is acquired 1500
times during each transaction.

Is this true?  Is there a way to disable RowExclusive locks and reduce
overhead since only this transaction

Accesses this table.   I know there are ways to specify locking levels in
other DBMSs. To page or table levels.

We are currently at version 7.4.5.

 

Thank you for your time,

 

 

Mark Steben

Senior Database Administrator
@utoRevenueT 
A Dominion Enterprises Company
480 Pleasant Street
Suite B200
Lee, MA 01238
413-243-4800 Home Office 
413-243-4809 Corporate Fax

msteben <blocked::mailto:name@autorevenue.com> @autorevenue.com

Visit our new website at 
 <blocked::http://www.autorevenue.com/; www.autorevenue.com

 

IMPORTANT: The information contained in this e-mail message is confidential
and is intended only for the named addressee(s). If the reader of this
e-mail message is not the intended recipient (or the individual responsible
for the delivery of this e-mail message to the intended recipient), please
be advised that any re-use, dissemination, distribution or copying of this
e-mail message is prohibited.  If you have received this e-mail message in
error, please reply to the sender that you have received this e-mail message
in error and then delete it.  Thank you.

 

view thread (7+ messages)  latest in thread

Message-ID: <009c01c7cafa$874c2e60$b501a8c0@D1RPQZB1>
Permalink:  ../009c01c7cafa$874c2e60$b501a8c0@D1RPQZB1/
Also on:    postgresql.org/message-id/009c01c7cafa$874c2e60$b501a8c0@D1RPQZB1

 · 

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-admin@postgresql.org
  Cc: msteben@autorevenue.com
  Subject: Re: row level locking
  In-Reply-To: <009c01c7cafa$874c2e60$b501a8c0@D1RPQZB1>

* 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