Checkpoint Process (CKPT)

Making Sure Changes Are Safe โœ…

๐Ÿง  What Is CKPT?
The Checkpoint Process (CKPT) coordinates with the Database Writer (DBWn) to ensure that changes made in memory are safely written to disk โ€” marking a checkpoint in the database.

Think of CKPT as the official timekeeper, ensuring all changes up to a certain point are permanently recorded.

๐Ÿ”„ What CKPT Does

FunctionDescription
โฑ๏ธ Initiates CheckpointsTriggers DBWn to write dirty buffers from memory to disk.
๐Ÿงพ Updates File HeadersWrites checkpoint metadata to data file headers and the control file.
๐Ÿšฆ Tracks Memory LimitsEvery 3 seconds, checks if PGA memory exceeds the PGA_AGGREGATE_LIMIT and takes action if needed.
โš™๏ธ Runs WidelyCKPT runs on database instances and Oracle ASM instances. Can be a thread or OS process.

๐Ÿ“Œ Why Checkpoints Matter

  • ๐Ÿ” Ensures data consistency between memory and disk.
  • ๐Ÿš€ Speeds up instance recovery by limiting how far back Oracle must look in redo logs.
  • ๐Ÿ› ๏ธ Supports features like fast recovery and backup consistency.

๐Ÿ’ก DBA Tip of the Day

Keep an eye on checkpoint frequency. Too frequent? It may affect performance. Too rare? Longer recovery time. Strike the right balance using FAST_START_MTTR_TARGET or tuning redo and buffer settings.