QuestionQ90

VerifiedManaging Undo Data

One of your databases supports an OLTP workload. The default UNDO tablespace has a fixed size with:

  1. RETENTION NOGUARANTEE
  2. UNDO_RETENTION set to 12 minutes

User SCOTT receives the following error after a query on the SALES table has run for more than 15 minutes:

ORA-01555: snapshot too old -

Which three factors, independently or in combination, might cause this?

Choose three
Explanation

ORA-01555 is raised when rollback records required to provide a consistent read have been overwritten. A fixed-size undo tablespace with RETENTION NOGUARANTEE may reuse even unexpired undo when space is needed. A post-query update can require an earlier row version; an update uncommitted at the query start can commit during the query and subsequently have its undo reused; and an older committed update can require unavailable undo information during delayed block cleanout. Oracle documents that fixed-size undo retention is tuned from workload and tablespace size, and that retention without a guarantee permits overwriting unexpired undo when space is low.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!