Re: function call

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: function call
Дата
Msg-id 53E0D58E.9040502@aklaver.com
обсуждение исходный текст
Ответ на function call  (Marcin Krawczyk <jankes.mk@gmail.com>)
Ответы Re: function call  (Marcin Krawczyk <jankes.mk@gmail.com>)
Список pgsql-sql
On 08/05/2014 04:28 AM, Marcin Krawczyk wrote:
> Hi list,
>
> I have a SET returning function (defined as RETURNS TABLE), it takes 2
> parameters and always returns one row with 3 columns. Now when I run it
> from pgAdmin it takes around 5 seconds but when I run it from the
> application its around 3 minutes (same parameters of course). It shows
> up in the postgres' status server and odbc log right away so I believe
> the applications has nothing to do with it. Where should I start looking ?

Just had another thought.

I found in the past that ODBC logging can slow things down considerably.

What happens if you turn off the ODBC logging?


>
> I'm running postgres 9.1
>
>
> regards
> mk


-- 
Adrian Klaver
adrian.klaver@aklaver.com



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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: function call
Следующее
От: Marcin Krawczyk
Дата:
Сообщение: Re: function call