max number of triggers in a table
max number of triggers in a table
От:
J <junaili@gmail.com>
Дата:
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? Thanks, J
Re: max number of triggers in a table
От:
Scott Marlowe <smarlowe@g2switchworks.com>
Дата:
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.