nerdexam
Oracle

1Z0-062 · Question #328

When does a database checkpoint occur?

The correct answer is A. When there is an online redo log switch. A database checkpoint is a critical event that ensures data consistency and enables recovery, commonly triggered by an online redo log switch. It involves writing modified data blocks to data files and updating control file and data file headers.

Exploring the Oracle Database Architecture

Question

When does a database checkpoint occur?

Options

  • AWhen there is an online redo log switch.
  • BWhen a user session terminates abnormally.
  • CWhen a server process terminates abnormally.
  • DWhen the SHUTDOWN ABORT command is issued.

How the community answered

(42 responses)
  • A
    88% (37)
  • B
    2% (1)
  • C
    2% (1)
  • D
    7% (3)

Why each option

A database checkpoint is a critical event that ensures data consistency and enables recovery, commonly triggered by an online redo log switch. It involves writing modified data blocks to data files and updating control file and data file headers.

AWhen there is an online redo log switch.Correct

When an online redo log group becomes full, the database switches to the next available group, which typically initiates a checkpoint. This process ensures that all modified data blocks associated with the log group being switched out are written from the database buffer cache to the data files on disk, synchronizing the control file and data file headers with the latest changes.

BWhen a user session terminates abnormally.

Abnormal termination of a user session triggers a rollback of uncommitted transactions for that specific session, not a database-wide checkpoint.

CWhen a server process terminates abnormally.

Abnormal termination of a server process might lead to process recovery but does not directly cause a database checkpoint.

DWhen the SHUTDOWN ABORT command is issued.

Issuing the SHUTDOWN ABORT command immediately terminates the database instance without performing a checkpoint or a clean shutdown, necessitating instance recovery upon the next startup.

Concept tested: Oracle database checkpoint triggers

Source: https://docs.oracle.com/en/database/oracle/oracle-database/23/admin/checkpoints.html

Topics

#Checkpoint#Redo Log Switch#Database Recovery

Community Discussion

No community discussion yet for this question.

Full 1Z0-062 Practice