Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How often should one COMMIT in a PL/SQL loop? / What is the best commit strategy?

best loop PL sql strategy
0
Posted

How often should one COMMIT in a PL/SQL loop? / What is the best commit strategy?

0

Contrary to popular belief, one should COMMIT less frequently within a PL/SQL loop to prevent ORA-1555 (Snapshot too old) errors. The higher the frequency of commit, the sooner the extents in the undo/ rollback segments will be cleared for new transactions, causing ORA-1555 errors.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.