Re: Slow update with simple query

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Lewis <mark(dot)lewis(at)mir3(dot)com>
Cc: Arnaud Lesauvage <thewild(at)freesurf(dot)fr>, Ragnar <gnari(at)hive(dot)is>, Jens Schipkowski <jens(dot)schipkowski(at)apus(dot)co(dot)at>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Slow update with simple query
Date: 2006-12-13 18:47:16
Message-ID: 10219.1166035636@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Mark Lewis <mark(dot)lewis(at)mir3(dot)com> writes:
> But he's using 8.1.4-- in that version, an explain analyze would list
> the time taken to go through triggers, so the fact that we don't see any
> of those lines means that it can't be constraint checking, so wouldn't
> it have to be the index update overhead?

Well, it can't be foreign key checking. Could have been an expensive
function in a CHECK constraint, maybe...

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message James Cloos 2006-12-13 18:48:10 Optimizing a query
Previous Message Tim Jones 2006-12-13 18:42:20 strange query behavior