Re: profiling PL/pgSQL?
От | Richard Huxton |
---|---|
Тема | Re: profiling PL/pgSQL? |
Дата | |
Msg-id | 454B311E.9010001@archonet.com обсуждение исходный текст |
Ответ на | Re: profiling PL/pgSQL? ("A. Kretschmer" <andreas.kretschmer@schollglas.com>) |
Ответы |
Re: profiling PL/pgSQL?
Re: profiling PL/pgSQL? |
Список | pgsql-performance |
A. Kretschmer wrote: > am Fri, dem 03.11.2006, um 3:12:14 -0800 mailte Drew Wilson folgendes: >> I have 700 lines of non-performant pgSQL code that I'd like to >> profile to see what's going on. >> >> What's the best way to profile stored procedures? > > RAISE NOTICE, you can raise the aktual time within a transaction with > timeofday() Of course you only have very small values of "best" available with plpgsql debugging. There's a GUI debugger from EnterpriseDB I believe, but I've no idea how good it is. Any users/company bods care to let us know? -- Richard Huxton Archonet Ltd
В списке pgsql-performance по дате отправления: