Query is slow when executing in procedure

Поиск
Список
Период
Сортировка
От ramasubramanian
Тема Query is slow when executing in procedure
Дата
Msg-id 734E023A56D3403BB6FB96ABBE265337@ramasubramanian
обсуждение исходный текст
Ответы Re: Query is slow when executing in procedure
Re: Query is slow when executing in procedure
Список pgsql-performance
Dear all,
    The query is slow when executing in the stored procedure(it is taking around 1 minute). when executing as a sql it is taking 4 seconds.
basically i am selecting the varchar column which contain 4000 character. We have as iindex on the table. We have analyzed the table also. What could be the reason. How to improve it?
 
Thanks in Advance
Ram

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

Предыдущее
От: Faheem Mitha
Дата:
Сообщение: Re: query optimization
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Query is slow when executing in procedure