Re: Help with EXPLAIN ANALYZE runtimes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Guenzl, Martin" <martin(at)guenzl(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Help with EXPLAIN ANALYZE runtimes
Date: 2005-01-09 05:23:42
Message-ID: 24309.1105248222@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

"Guenzl, Martin" <martin(at)guenzl(dot)com> writes:
> On the latter, the EXPLAIN ANALYZE returned what I thought was a strange
> result - here is the excerpt ...

Do you think we are psychics who can guess at your problem when you've
shown us none of the table definitions, none of the query, and only a
small part of the EXPLAIN output?

Donning my Karnak headgear, I will guess that this is actually not a
SELECT query but some kind of update operation, and that the time
sink is in the updating part and not in the data extraction part.
(Inefficient foreign-key operations would be a likely cause, as would
poorly written user-defined triggers.) But that's strictly a guess.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Guenzl, Martin 2005-01-09 05:45:18 Re: Help with EXPLAIN ANALYZE runtimes
Previous Message Guenzl, Martin 2005-01-09 04:44:30 Help with EXPLAIN ANALYZE runtimes