denrepo

Oracle error

ORA-01555

ORA-01555: snapshot too old: rollback segment number %s with name "%s" too small

What usually causes it

A long query needed undo to rebuild an older version of a block, and that undo had already been overwritten.

What to check first

Size the undo tablespace and UNDO_RETENTION for your longest query, and tune that query. Avoid committing inside a loop that's still fetching from the same table.

Scripts that help

Open in the error lookupOracle's reference