SQL Flow Field Guide

CHECKPOINT

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

manual checkpoint

What changes

Input
dirty pages in the buffer pool
Output or change
data files

Syntax at a glance

CHECKPOINT [ checkpoint_duration ]

Work example

An administrator is reviewing when dirty pages are written to a database data file.

Treat CHECKPOINT as an operational action. Follow the database recovery plan and do not add it to a routine query batch.

Check your work CHECKPOINT. The change review states the recovery goal and measures the effect on I/O and log reuse.

Open Microsoft Learn for full syntax, permissions, and details for your version.