From: Joshua D. Drake <jd@commandprompt.com>
To: Gregory Stark <stark@enterprisedb.com>
Cc: Campbell\, Lance <lance@uiuc.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Suggestions on an update query
Date: Fri, 26 Oct 2007 19:31:11 -0700
Message-ID: <20071026193111.7a595247@scratch> (raw)
In-Reply-To: <87odel1feo.fsf@oxford.xeocode.com>
References: <B10E6810AC2A2F4EA7550D072CDE8760197DC6@SAB-FENWICK.sab.uiuc.edu>
<B10E6810AC2A2F4EA7550D072CDE8760197DC7@SAB-FENWICK.sab.uiuc.edu>
<20071026141547.70c9c1e0@scratch>
<87odel1feo.fsf@oxford.xeocode.com>
On Sat, 27 Oct 2007 03:04:47 +0100
Gregory Stark <stark@enterprisedb.com> wrote:
> > O.k. first you might be grinding through your 20 checkpoint segments
> > but in reality what I think is happening is you are doing foreign
> > key checks against all of it and slowing things down.
>
> If you're going to berate someone about top-posting perhaps you
> should attach your own commentary to relevant bits of context :P
It was hardly berating Greg, I even said please.
> I
> suspect you've guessed it right though. In fact I suspect what's
> happening is he doesn't have an index on the referencing column so
> the foreign key checks are doing sequential scans of.
>
Sincerely,
Joshua D. Drake
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 24x7/Emergency: +1.800.492.2240
PostgreSQL solutions since 1997 http://www.commandprompt.com/
UNIQUE NOT NULL
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/Attachments:
signature.asc (application/pgp-signature, 188B) download
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-performance@postgresql.org
Cc: jd@commandprompt.com, stark@enterprisedb.com, lance@uiuc.edu
Subject: Re: Suggestions on an update query
In-Reply-To: <20071026193111.7a595247@scratch>
* 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