1Z0-052 · Question #36
In which situation may the UNDO_RETENTION parameter be ignored, even if it is set to a value?
The correct answer is C. When the undo tablespace is of a fixed size and retention guarantee is not enabled. UNDO_RETENTION is a best-effort target; when the undo tablespace is a fixed size with no retention guarantee, Oracle will overwrite unexpired undo to make room for active transactions.
Question
In which situation may the UNDO_RETENTION parameter be ignored, even if it is set to a value?
Options
- AWhen the data file of the undo tablespace is autoextensible
- BWhen there are more than one undo tablespace available in the database
- CWhen the undo tablespace is of a fixed size and retention guarantee is not enabled
- DWhen the undo tablespace is autoextensible and retention guarantee is not enabled
How the community answered
(35 responses)- A6% (2)
- B29% (10)
- C51% (18)
- D14% (5)
Why each option
UNDO_RETENTION is a best-effort target; when the undo tablespace is a fixed size with no retention guarantee, Oracle will overwrite unexpired undo to make room for active transactions.
An autoextensible data file lets the tablespace grow to accommodate retention requirements, making Oracle more likely to honor UNDO_RETENTION rather than ignore it.
The number of undo tablespaces in the database does not affect whether UNDO_RETENTION is honored; only one undo tablespace is active at a time and it independently respects the retention setting.
With a fixed-size undo tablespace and retention guarantee disabled, Oracle treats UNDO_RETENTION as advisory only; if space runs out, the database overwrites the oldest undo segments regardless of whether their retention period has expired, effectively ignoring the parameter.
An autoextensible undo tablespace can expand to preserve undo data for the configured retention period, so Oracle is generally able to honor UNDO_RETENTION in this scenario rather than ignore it.
Concept tested: Oracle UNDO_RETENTION with fixed-size tablespace and no guarantee
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.