can any one explain in simple language... what is the dirty reads, lazy writer, check point, ?

hi....

in interview to day............

i said " check point is the process flushing out data from buffer cache to to disk" immediately he asked what is lazy writer  and dirty reads ..?  can any one explain in simple terminology?

August 7th, 2013 3:46pm

I'll take one at the time

dirty reads: read data that is modified by another transaction that is not yet committed

lazy writer: process in SQL server that writes portions of dirty pages(modified pages in memory) to disk whenever any pressure is on memory

check point: process in SQL server that writes ALL dirty pages(modified pages in memory) to disk at regular intervals

Free Windows Admin Tool Kit Click here and download it now
August 7th, 2013 3:50pm

Thank you ....Geert.

i got extaly point...so here  difference between  check point and lazy writer..

lazy writer depend on memory

check point is depends time interval

August 7th, 2013 3:56pm

plus checkpoint writes ALL dirty pages to disk and chackpoint will also clear the transactionlog when your database is in SIMPLE recovery mode
Free Windows Admin Tool Kit Click here and download it now
August 7th, 2013 3:58pm

Thank you geert.
August 7th, 2013 4:03pm

Nice. Short and sweet.
Free Windows Admin Tool Kit Click here and download it now
August 8th, 2013 2:09am

I am moving it to Tools.
August 10th, 2013 2:31am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics