pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Steve Lane <slane@soliantconsulting.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Cc: Jamie Thomas <jthomas@soliantconsulting.com>
Subject: Re: Odd query behavior [urgent, but long]
Date: Wed, 25 Aug 2004 14:26:52 -0500
Message-ID: <BD52522C.1A680%slane@soliantconsulting.com> (raw)
In-Reply-To: <2190.1093461392@sss.pgh.pa.us>



> From: Tom Lane <tgl@sss.pgh.pa.us>
> Date: Wed, 25 Aug 2004 15:16:32 -0400
> To: Steve Lane <slane@soliantconsulting.com>
> Cc: pgsql-admin@postgresql.org, Jamie Thomas <jthomas@soliantconsulting.com>
> Subject: Re: [ADMIN] Odd query behavior [urgent, but long]
> 
> Steve Lane <slane@soliantconsulting.com> writes:
>> I have enabled pretty extensive query logging on the 7.1.3 instance. What I
>> see is that certain queries take hideously long.
> 
> Tell us about foreign keys associated with the table being updated?
> An UPDATE would fire triggers for both referencing and referenced keys ...
> 
> I'm suspecting an unindexed or datatype-incompatible foreign key column.

Hi Tom:

Thanks. There are, unfortunately, no foreign keys or triggers anywhere in
the db that I know of. And this query is not always slow, just occasionally.

-- sgl




view thread (4+ messages)  latest in thread

Message-ID: <BD52522C.1A680%slane@soliantconsulting.com>
Permalink:  ../BD52522C.1A680%25slane@soliantconsulting.com/
Also on:    postgresql.org/message-id/BD52522C.1A680%slane@soliantconsulting.com

 · 

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 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-admin@postgresql.org
  Cc: slane@soliantconsulting.com, tgl@sss.pgh.pa.us, jthomas@soliantconsulting.com
  Subject: Re: Odd query behavior [urgent, but long]
  In-Reply-To: <BD52522C.1A680%slane@soliantconsulting.com>
  References: <2190.1093461392@sss.pgh.pa.us> <BD52522C.1A680%slane@soliantconsulting.com>

* 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