Error: execution time limit exceeded in Altas Trigger

I wanted to delete 30 million records but altas trigger gives execution time limit exceeded. How can i delete 30 million.


Hi @Bhavya_Bhatt,

A Trigger may not be the best place for this, what’s the rationale behind its use?

Is this a regular operation, or a once-off? If the latter is the case, then you can use any other tool (say, Compass or Shell), that have no such limits.

If however it’s a regular operation, and you need to schedule it, then you may want to consider a shorter schedule (say, once per day, in place of once per month), so that the amount fits well within the limits of execution that Triggers need to comply with.

1 Like

Thanks You Paola_Manna

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.