Re: max number of triggers in a table - Mailing list pgsql-general

From Scott Marlowe
Subject Re: max number of triggers in a table
Date
Msg-id 1126123903.15992.24.camel@state.g2switchworks.com
Whole thread Raw
In response to max number of triggers in a table  (J <junaili@gmail.com>)
List 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 by date:

Previous
From: merlyn@stonehenge.com (Randal L. Schwartz)
Date:
Subject: Re: Email Verfication Regular Expression
Next
From: Steve Atkins
Date:
Subject: Re: Email Verfication Regular Expression