Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

Next:From: James CloosDate: 2006-12-13 18:48:10
Subject: Optimizing a query
Previous:From: Tim JonesDate: 2006-12-13 18:42:20
Subject: strange query behavior

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group