1Z0-052 · Question #56
Your database instance is configured with automatic undo management and the UNDO_RETENTION parameter is set to 900 seconds. You executed the following command to enable retention guarantee: SQL>…
The correct answer is B. The extents containing committed undo in the undo tablespace are not overwritten for at least 15 minutes. RETENTION GUARANTEE forces Oracle to honour the full UNDO_RETENTION period for committed undo, preventing overwrite even when the undo tablespace is under space pressure.
Question
Your database instance is configured with automatic undo management and the UNDO_RETENTION parameter is set to 900 seconds. You executed the following command to enable retention guarantee:
SQL> ALTER TABLESPACE undotbs1 RETENTION GUARANTEE; What affect would this command have on the database?
Options
- AThe extents in the undo tablespace retain data until the next full database backup
- BThe extents containing committed undo in the undo tablespace are not overwritten for at least 15 minutes
- CThe extents containing committed data in the undo tablespace are not overwritten until the instance
- DThe extents containing committed undo in the undo tablepace are transferred to Flash Recovery Area
How the community answered
(31 responses)- A3% (1)
- B81% (25)
- C10% (3)
- D6% (2)
Why each option
RETENTION GUARANTEE forces Oracle to honour the full UNDO_RETENTION period for committed undo, preventing overwrite even when the undo tablespace is under space pressure.
Undo retention is governed purely by the time-based UNDO_RETENTION parameter in seconds and has no relationship to full database backup schedules.
With UNDO_RETENTION=900 seconds (15 minutes) and RETENTION GUARANTEE set on undotbs1, Oracle will not overwrite extents holding committed undo data until at least 900 seconds have elapsed. Without GUARANTEE, Oracle may reclaim committed undo space prematurely if active transactions need room, but GUARANTEE enforces the retention floor unconditionally, reducing ORA-01555 snapshot-too-old errors.
RETENTION GUARANTEE does not hold undo until instance shutdown - it holds committed undo for the duration specified by UNDO_RETENTION (900 seconds), after which the space becomes eligible for reuse.
Committed undo data is never transferred to the Flash Recovery Area; it stays within the designated undo tablespace until the retention period expires and space is reclaimed.
Concept tested: Undo retention guarantee and UNDO_RETENTION parameter
Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/managing-undo.html
Topics
Community Discussion
No community discussion yet for this question.