Re: SQL code runs slower as a stored function

Поиск
Список
Период
Сортировка
Искать
От
Greg Sabino Mullane
Тема
Re: SQL code runs slower as a stored function
Дата
в 13:52:34
Msg-id
076135f5b42cab1c4c9001508119e9b1@biglumber.com
Ответ на
Список
Дерево обсуждения
SQL code runs slower as a stored function S G <sgennaria2@gmail.com>
Re: SQL code runs slower as a stored function Stephen Frost <sfrost@snowman.net>
Re: SQL code runs slower as a stored function S G <sgennaria2@gmail.com>
Re: SQL code runs slower as a stored function "Greg Sabino Mullane" <greg@turnstep.com>
Re: SQL code runs slower as a stored function S G <sgennaria2@gmail.com>
Re: SQL code runs slower as a stored function Stephen Frost <sfrost@snowman.net>
Re: SQL code runs slower as a stored function Tom Lane <tgl@sss.pgh.pa.us>
Re: SQL code runs slower as a stored function Raymond O'Donnell <rod@iol.ie>
Re: SQL code runs slower as a stored function S G <sgennaria2@gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> Also re: Raymond's request, I tried humoring myself with the EXPLAIN output,
> and I actually don't see anything useful-looking at all when I run it on a
> stored function like I'm using.  Is there any way to utilize EXPLAIN on a
> query embedded in a stored function?  I could run it just fine on the raw
> sql, but the raw sql wasn't what was running slow, so I'm not sure if it's
> even helpful to do that.

I wrote a blog article about this: Google for "Why is my function slow?"

- -- 
Greg Sabino Mullane greg@turnstep.com
End Point Corporation http://www.endpoint.com/
PGP Key: 0x14964AC8 201005131251
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkvsLjQACgkQvJuQZxSWSsjgzwCfSxAeq4m6KUInlYSoBQECMASe
1psAoLJ8zrzrR4O9V0UZdOr0YHjCbxXj
=80ur
-----END PGP SIGNATURE-----


В списке pgsql-general по дате отправления
От: David Fetter
Дата:
От: Stephen Frost
Дата:
FAQ