October 29, 2012 at 1:56 am
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
October 29, 2012 at 3:11 am
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
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply