SQL Server Interview Question #266
What is a checkpoint?
SQL Server Internals & Administration Senior Advanced
Detailed Explanation
A checkpoint writes dirty data pages for a database from memory to disk as part of SQL Server's recovery and buffer-management process.
Checkpoints help limit the amount of work required during crash recovery. They do not mean every transaction log record can immediately be discarded; log truncation depends on recovery model and other factors that can prevent log reuse.
SQL Server supports automatic, manual, indirect, and internal checkpoint behavior depending on configuration and circumstances.
Code Example
CHECKPOINT;