Re: Important speed difference between a query and a
От
Stephan Szabo
Тема
Re: Important speed difference between a query and a
Дата
Msg-id
20030424101802.M2131-100000@megazone23.bigpanda.com
Ответ на
Re: Important speed difference between a query and a (Frederic Jolliton)
Список
Дерево обсуждения
Important speed difference between a query and a function with the
same query Frederic Jolliton <fred-pg@jolliton.com>
Re: Important speed difference between a query and a function with the same query "Jim C. Nasby" <jim@nasby.net>
Re: Important speed difference between a query and a Frederic Jolliton <fred-pg@jolliton.com>
Re: Important speed difference between a query and a Tom Lane <tgl@sss.pgh.pa.us>
Re: Important speed difference between a query and a Frederic Jolliton <fred-pg@jolliton.com>
Re: Important speed difference between a query and a Hannu Krosing <hannu@tm.ee>
Re: Important speed difference between a query and a Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: Important speed difference between a query and a Frederic Jolliton <fred-pg@jolliton.com>
Re: Important speed difference between a query and a Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: Important speed difference between a query and a Frederic Jolliton <fred-pg@jolliton.com>
On Thu, 24 Apr 2003, Frederic Jolliton wrote: > > On Thu, 24 Apr 2003, Frederic Jolliton wrote: > > Perhaps plpgsql with EXECUTE would work better for that, although > > it's likely to have some general overhead. > > The server is rather fast, and the query return 10 to 50 rows in most > case. So, this is probably a solution, even if it's not very > clean. (Well, I have to find an example to RETURN the result of > EXECUTE..) Check out http://techdocs.postgresql.org/guides/SetReturningFunctions specifically the GetRows() function for an example of using for in execute with set returning functions.
В списке pgsql-performance по дате отправления
От: Frederic Jolliton
Дата: