Re: contrib/pg_stat_statements
От | Hannu Krosing |
---|---|
Тема | Re: contrib/pg_stat_statements |
Дата | |
Msg-id | 1225097433.7643.5.camel@huvostro обсуждение исходный текст |
Ответ на | Re: contrib/pg_stat_statements (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>) |
Ответы |
Re: contrib/pg_stat_statements
|
Список | pgsql-hackers |
On Mon, 2008-10-27 at 17:00 +0900, ITAGAKI Takahiro wrote: > Martin Pihlak <martin.pihlak@gmail.com> wrote: > > > ITAGAKI Takahiro wrote: > > > I'd like to submit pg_stat_statements contrib module > > > > > Nice work! There is one feature I'd like to request -- we need to be able > > to also track nested statements. This would greatly simplify diagnosing > > performance problems in complex stored procedures. Perhaps the GUC > > track_statements could be made an enum - none, top, all? > > I tried your request, but found it's hard to determine query text > where the executing plan comes. Are you sure you need query _text_ ? Why not just aggregate on function OID and reslve OID to text only at display stage ? ---------------- Hannu
В списке pgsql-hackers по дате отправления: