1Z0-052 · Question #9
After performing a clean shut down of the database instance for maintenance, you mount the database and then execute a command to open the database: SQL> ALTER DATABASE OPEN; Which two statements…
The correct answer is A. The online redo log files and online data files are opened B. All the online data files headers are checked for consistency. When opening an Oracle database after a clean shutdown, the OPEN phase verifies data file header consistency and opens all online data files and redo log files.
Question
After performing a clean shut down of the database instance for maintenance, you mount the database and then execute a command to open the database:
SQL> ALTER DATABASE OPEN; Which two statements are true? (Choose two.)
Options
- AThe online redo log files and online data files are opened
- BAll the online data files headers are checked for consistency
- CInstance recovery is performed before opening the database
- DThe path and existence of all the log file members are checked
How the community answered
(40 responses)- A75% (30)
- C18% (7)
- D8% (3)
Why each option
When opening an Oracle database after a clean shutdown, the OPEN phase verifies data file header consistency and opens all online data files and redo log files.
Opening the database transitions it from MOUNT to OPEN state by opening the online redo log files and data files, making them accessible for I/O operations.
During the OPEN phase, Oracle reads and validates the SCN (System Change Number) in each online data file header against the control file to ensure consistency before allowing user access.
Instance recovery is only triggered after an abnormal shutdown - after a clean shutdown all files are already consistent and no recovery is required.
The path and existence of log file members are verified during the MOUNT phase when Oracle reads the control file, not during the OPEN phase.
Concept tested: Oracle database startup phases - OPEN stage
Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/admin/starting-up-and-shutting-down.html
Topics
Community Discussion
No community discussion yet for this question.