Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
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


Group: General Forum Members
Last Login: Wednesday, March 11, 2015 4:10 AM
Points: 196, Visits: 294
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: Yesterday @ 9:26 AM
Points: 41,287, Visits: 37,879
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 2008, MVP
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