Click here to monitor SSC
SQLServerCentral is supported by Redgate
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

question about checkpoint Expand / Collapse
Posted Monday, October 29, 2012 1:56 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Thursday, October 13, 2016 6:41 PM
Points: 248, Visits: 305
a question about the checkpoint operation
i heard some ppl say that sql writes down the dirty pages directly to disk, but isnt it just the changes which are written down? the pages themselves still have to stay in memory dont they
Post #1378145
Posted Monday, October 29, 2012 3:11 AM



Group: General Forum Members
Last Login: Today @ 5:18 AM
Points: 45,619, Visits: 44,147
The pages aren't moved from memory to disk, (there's a page on disk and a copy of that page in memory), but checkpoint writes at a page level, not the individual change level, so if 2 bytes on a page have been changed, that entire page is written back to the data file.

Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

We walk in the dark places no others will enter
We stand on the bridge and no one may pass

Post #1378163
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse