From: hubert lubaczewski <hubert.lubaczewski@eo.pl>
To: pgsql-performance@postgresql.org
Subject: profiling postgresql queries?
Date: Tue, 12 Apr 2005 12:46:43 +0200
Message-ID: <20050412104643.GB11445@eo.pl> (raw)
hi
i'm not totally sure i should ask on this mailing list - so if you think
i should better ask someplace else, please let me know.
the problem i have is that specific queries (inserts and updates) take a
long time to run.
of course i do vacuum analyze frequently. i also use explain analyze on
queries.
the problem is that both the inserts and updated operate on
heavy-tirggered tables.
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?
like:
total query time: 1 secons
trigger a: 0.50 second
trigger b: 0.25 second
index update: 0.1 second
something like this.
is it possible?
will it be ever possible?
hubert
--
hubert lubaczewski
Network Operations Center
eo Networks Sp. z o.o.
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: hubert.lubaczewski@eo.pl
Subject: Re: profiling postgresql queries?
In-Reply-To: <20050412104643.GB11445@eo.pl>
* 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