What is difference between process and thread?
Explain lazy writer funcationality.

Answer Posted / sachin nandanwar

Its a rubbish answer what adesh has posted.

Lazy writer and checkpoints are NOT related to each other.

Lazywriter will come into picture only when there is memory
pressure by changing the size of buffer pool or when it
periodically finds dirty pages which have not been used for
a while and flushes those pages to the hard disk.It drops
the pages from the buffer cache to free the cache.

Checkpoint on other hand also checks for dirty pages and but
will not drop pages from the cache instead will mark the
page clean in the cache after flushing it to disk.The
primary purpose of checkpoint is to keep the recovery time
as low as possible and not memory management.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the steps you should follow to start sql server in single-user mode?

486


Can you explain what is the use of custom fields in report?

603


How to convert a table data in XML format in sql server?

2124


How to list all user names in a database?

590


What is relationship? What number of sorts of relationship are there?

639






How to filter records of table in SQL SERVER?

601


What is Federation and Federation Member?

80


What is a unique key constraint?

531


What are different backups available in sql server?

606


What is the most common trace flags used with sql server?

517


What command would you use to add a column to a table in sql server?

747


What is system stored procedures?

584


How many triggers you can have on a table?

531


What is the difference between a function and a stored procedure?

563


Define inner join in sql server joins?

533