profiling postgresql queries?

Поиск
Список
Период
Сортировка
От hubert lubaczewski
Тема profiling postgresql queries?
Дата
Msg-id 20050412104643.GB11445@eo.pl
обсуждение исходный текст
Ответы Re: profiling postgresql queries?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: profiling postgresql queries?  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-performance
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.

В списке pgsql-performance по дате отправления:

Предыдущее
От: Aditya
Дата:
Сообщение: Re: [sfpug] DATA directory on network attached storage
Следующее
От: "Dave Held"
Дата:
Сообщение: Re: 4 way JOIN using aliases