Re: Trigger is taking time to fire

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Trigger is taking time to fire
Дата
Msg-id dcc563d10807141108y755948daw491ad7e0b71d336c@mail.gmail.com
обсуждение исходный текст
Ответ на Trigger is taking time to fire  ("Ramasubramanian" <ramasubramanian.g@renaissance-it.com>)
Список pgsql-performance
On Sun, Jul 13, 2008 at 11:59 PM, Ramasubramanian
<ramasubramanian.g@renaissance-it.com> wrote:
>
> Hi All,
>     I am having a trigger in table, If i update the the table manually it is
> not taking time(say 200ms per row), But if i update the table through
> procedure the trigger is taking time to fire(say 7 to 10 seconds per row).
>
> How can i make the trigger to fire immediately ?

I'm thinking the user defined function is using a cached query plan.
Try using execute to see if it runs faster that way.

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

Предыдущее
От: "Leví Teodoro da Silva"
Дата:
Сообщение: Re: [QUESTION]Concurrent Access
Следующее
От: Greg Smith
Дата:
Сообщение: Re: 3ware vs Areca