From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kenneth Hutchinson <kenneth.hutchinson@mpfyieldstar.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Issue with UPDATE statement on v8
Date: Thu, 22 Sep 2005 16:48:10 -0400
Message-ID: <15676.1127422090@sss.pgh.pa.us> (raw)
In-Reply-To: <ED153B99D71F5B4ABE318CF841A5C3E602061528@RPIDALEXC004.corp.realpage.com>
References: <ED153B99D71F5B4ABE318CF841A5C3E602061528@RPIDALEXC004.corp.realpage.com>
"Kenneth Hutchinson" <kenneth.hutchinson@mpfyieldstar.com> writes:
> UPDATE t_summary
> SET availability = 7
> WHERE oid = 28245084
> When this query is executed (within a function or without) the database
> will simply hang.
Is it really hung, or just taking an awfully long time? If the backend
is consuming no CPU or I/O then I'd agree it's the former; please look
into the pg_locks view to see if you can find out what it's waiting for.
If it's the latter, maybe you neglected to create an index on OID?
> Has anyone else experienced a similar issue?
We'd certainly have heard about it if so. But you haven't provided
enough info to let anyone reproduce the problem for investigation.
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, kenneth.hutchinson@mpfyieldstar.com
Subject: Re: Issue with UPDATE statement on v8
In-Reply-To: <15676.1127422090@sss.pgh.pa.us>
* 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