Trigger question

Поиск
Список
Период
Сортировка
От pginfo
Тема Trigger question
Дата
Msg-id 400691EA.96598C34@t1.unisoftbg.com
обсуждение исходный текст
Ответы Re: Trigger question  (Richard Huxton <dev@archonet.com>)
Список pgsql-performance
Hi,

I am using pg 7.4.1 and have created a trigger over table with 3 M rows.

If I start masive update on this table, pg executes this trigger on
every row and dramaticaly slows the system.

Exists in pg any way to define the trigger execution only if I have
changes on some fields?

For example I am able to declare this in oracle.

My trigger is writen in pgSQL.

regards,
ivan.


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

Предыдущее
От: "Matt Clark"
Дата:
Сообщение: Re: insert speed - Mac OSX vs Redhat
Следующее
От: Tom Lane
Дата:
Сообщение: Re: insert speed - Mac OSX vs Redhat