|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, May 13, 2013 10:57 PM
Points: 43,
Visits: 109
|
|
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
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 12:25 AM
Points: 37,734,
Visits: 29,999
|
|
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
|
|
|
|