Re: function performance vs in-line sql

Поиск
Список
Период
Сортировка
От Schwarz, Karl
Тема Re: function performance vs in-line sql
Дата
Msg-id 9E64800D28DF264DB32B0309B6F222D5188549@xcgny105.northgrum.com
обсуждение исходный текст
Ответ на Re: function performance vs in-line sql  (Richard Huxton <dev@archonet.com>)
Список pgsql-performance
Thanks. I was not looking for help with the query just wanted to know
that I didn't overlook some basic
configuration setting.

Karl

-----Original Message-----
From: Richard Huxton [mailto:dev@archonet.com]
Sent: Thursday, March 08, 2007 12:50 PM
To: Schwarz, Karl
Cc: pgsql-performance@postgresql.org
Subject: Re: [PERFORM] function performance vs in-line sql

Schwarz, Karl wrote:
> Is there something basic I am missing here with the use of a function.

> I am no database expert, but my assumption was that a function would
> give me better results than in-line sql.

Not necessarily. Usually it means the planner has less information to go
on.

We'll need more information though - table definitions, queries, how is
the function called etc.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Ron
Дата:
Сообщение: Re: compact flash disks?
Следующее
От: Ron
Дата:
Сообщение: Re: strange performance regression between 7.4 and 8.1