pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: hubert.lubaczewski@eo.pl
Cc: pgsql-performance@postgresql.org
Subject: Re: profiling postgresql queries?
Date: Tue, 12 Apr 2005 10:10:53 -0400
Message-ID: <15425.1113315053@sss.pgh.pa.us> (raw)
In-Reply-To: <20050412104643.GB11445@eo.pl>
References: <20050412104643.GB11445@eo.pl>

hubert lubaczewski <hubert.lubaczewski@eo.pl> writes:
> and it made me wonder - is there a way to tell how much time of backend
> was spent on triggers, index updates and so on?

In CVS tip, EXPLAIN ANALYZE will break out the time spent in each
trigger.  This is not in any released version, but if you're desperate
you could load up a play server with your data and test.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <15425.1113315053@sss.pgh.pa.us>
Permalink:  ../15425.1113315053@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15425.1113315053@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, hubert.lubaczewski@eo.pl
  Subject: Re: profiling postgresql queries?
  In-Reply-To: <15425.1113315053@sss.pgh.pa.us>

* 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