From: postgres@countup.de
To: pgsql-performance@postgresql.org
Subject: Deadlocks...
Date: Sun, 14 Mar 2004 22:43:41 +0100 (CET)
Message-ID: <20040314214341.BA6D35A816F@kserver17.erfurt12.de> (raw)
<html><head></head><body bgcolor="#ffffff" text="#000000" link="#000000" alink="#000000" vlink="#000000" marginwidth=10 marginheight=10 topmargin=10 leftmargin=10>Hi,
<br>
<br>i have 2 Functions, one ist called by page visitors (something about 2,000 times / 1 hour)
<br>and the other just by the admin (let say 1 time per hour or per login)
<br>i often get a deadlock error after calling the admin function
<br>yes they try to access the same table somewhere in the function code.
<br>The Admin function can take up to 20-30 seconds and visitor function just 20 to 30 ms
<br>What can i do there? Have i to study a lot about locking tables or something else?
<br>
<br>Thanks for your Help
<br>regards,
<br>Boris</body></html>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: postgres@countup.de
Subject: Re: Deadlocks...
In-Reply-To: <20040314214341.BA6D35A816F@kserver17.erfurt12.de>
References: <20040314214341.BA6D35A816F@kserver17.erfurt12.de>
* 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