Tuning checkpoints
A checkpoint is used to ensure consistency in the database; during this operation, all data files are synchronized with the data blocks in memory.
The process responsible for signaling a checkpoint is the CKPT process, which signals the DBWn processes to write the dirty (modified) buffers from database buffer cache in memory to the data files.
During this operation data, file headers and control files are updated to store the last System Change Number (SCN), to ensure data block consistency.
In this recipe, we will see how to tune checkpoints in an Oracle database, to optimize all these write operations involved in checkpoints, balancing the trade-off between the redo log size and recovery time, in case of instance failure.
How ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access