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
Author
Message
Posted Monday, October 29, 2012 1:56 AM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, October 15, 2014 6:35 AM
Points: 169, Visits: 274
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


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 10:04 AM
Points: 40,172, Visits: 36,559
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