Re: [GENERAL] trigger speed

2006-09-10 Thread Sim Zacks
A statement level trigger is basically a notification that the table has been touched. You do not have access to the new or old tables. You can also write a DO ALSO rule on the table, which will accomplish what you want. Joseph Shraibman wrote: I have a trigger that updates a count table, based

[GENERAL] trigger speed

2006-08-15 Thread Joseph Shraibman
I have a trigger that updates a count table, based on status. The count table looks like this: key status count a1 300 a2 400 b1 100 b2 200 The problem is that for large updates when I do "UPDATE table SET status = 1 WHERE status = 2 and key =