pl/pgsql and Transaction Isolation

From: Marcus Whitney <marcus(at)coldfeetcreative(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: pl/pgsql and Transaction Isolation
Date: 2004-06-07 16:31:46
Message-ID: 200406071131.46488.marcus@coldfeetcreative.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hello,

I have an instance where I have a series of pl/pgsql calls, that report stat
results to a common table. When other queries try to hit the stat table
(with DML commands; SELECT, INSERT, UPDATE, DELETE etc.) they are forced to
wait in a queue until the pl/pgsql has finished executing.

will:

SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;

before these DML queries eliminate the locking?

--
marcus whitney

chief architect : cold feet creative

www.coldfeetcreative.com

800.595.4401
 

cold feet presents emma

email marketing for discriminating

organizations everywhere

visit www.myemma.com

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Marcus Whitney 2004-06-07 16:43:41 Re: Pl/Pgsql Functions running simultaneously
Previous Message Mark Aufflick 2004-06-07 15:52:14 PREPAREing statements versus compiling PLPGSQL