Re: max number of triggers in a table

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: max number of triggers in a table
Дата
Msg-id 1126123903.15992.24.camel@state.g2switchworks.com
обсуждение исходный текст
Ответ на max number of triggers in a table  (J <junaili@gmail.com>)
Список pgsql-general
On Wed, 2005-09-07 at 14:17, J wrote:
> Hi,
> I was wondering if there's a recommended maximum number of triggers in a
> table?
> Will having 3 triggers, one for insert or update, one for insert and one
> for delete greatly impact performance?

It's not the number so much as what they're doing.

If your trigger has some part causes a seq scan of a large table, then
it will be slow.

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

Предыдущее
От: merlyn@stonehenge.com (Randal L. Schwartz)
Дата:
Сообщение: Re: Email Verfication Regular Expression
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: Email Verfication Regular Expression