Skip to main content

What Are Dirty Pages and Clean Pages in SQL Server?

Senior MS SQL
Quick Answer Dirty pages are buffer pool pages that have been modified but not yet written to disk. Clean pages are in sync with disk. CHECKPOINT flushes dirty pages. Tracking dirty vs. clean pages is how SQL Server knows exactly what needs to be written during a checkpoint and what needs to be redone after a crash.

Answer

Dirty pages: modified in buffer pool but not yet persisted to disk.
Clean pages: identical to the disk version.

Checkpoints convert dirty pages to clean pages. Too many dirty pages increase recovery time and degrade performance.

S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice