Re: Slow update with simple query - Mailing list pgsql-performance

From Tom Lane
Subject Re: Slow update with simple query
Date
Msg-id 21627.1166115026@sss.pgh.pa.us
Whole thread Raw
In response to Re: Slow update with simple query  (Mark Lewis <mark.lewis@mir3.com>)
List pgsql-performance
Mark Lewis <mark.lewis@mir3.com> writes:
> Out of curiosity, how hard would it be to modify the output of EXPLAIN
> ANALYZE when doing an insert/update to include the index update times
> and/or non-FK constraint checking times and/or the table row update
> times?

I don't think it'd help much --- in an example like this, other tools
like vmstat would be more likely to be useful in investigating the
problem.  There's also the problem that EXPLAIN ANALYZE overhead is
already too high --- another dozen gettimeofday() calls per row
processed doesn't sound appetizing.

            regards, tom lane

pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: EXPLAIN ANALYZE on 8.2
Next
From: "Rohit Prakash Khare"
Date:
Subject: unsubscribe