Total Pageviews

October 5, 2017

10/05/2017 10:28:00 AM
ORA-0155 errors

Problem:

There is a procedure to insert records in few tables and to update in few
tables , after processing  X records or so , it is failing with the below error,

ORA-01555: snapshot too old: rollback segment number 3 with name "RBS2" too small .



Solution:

You can try this solution:

Loop

Process data;

Perform
update/delete on table a.

Increase record-counter

If counter > n

Then

commit;

Reset ounter;

End if

End loop;

or  reset the parameter 'undo_retention' value > 36000 .




 
Related Posts Plugin for WordPress, Blogger...