what is lazy writer?

Answer Posted / samba shiva reddy . m

The job of the lazy writer is to find dirty pages in the buffer pool and write them out to disk and drop those pages from cache. It does this to keep a certain amount of free pages available within the buffer pool for data that may be requested by other queries. The pages that it writes out are ‘older’ pages, ones that haven’t been used for a while.
If there’s lots of available buffers, the lazy writer will be doing relatively little work and the number of pages written to disk will be quite low. If the lazy writer’s consistently writing lots of data, it may indicate that there’s a memory bottleneck.

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to resolve the orphan use problem? : sql server security

523


What are the purposes and advantages stored procedure?

495


What is the index requirement in SQL Azure?

72


What are the disadvantages of primary key and foreign key in SQL?

622


explain what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration

505






What happens if ntwdblib.dll is missing on your machine?

632


How you can add messages to the nt event log from within a stored procedure?

563


Can you leave a union at any time?

531


What is a view and what are its advantages?

685


Does sql server 2000 clustering support load balancing?

562


When we should use and scope of @@identity?

538


Where can you add custom error messages to sql server?

579


What is single-user mode?

520


What is sql collation?

648


Explain what stored procedure sp_replcounters is used for? : sql server replication

995