SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Lazy Writes / sec


Lazy Writes / sec

Author
Message
idokle
idokle
Grasshopper
Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)

Group: General Forum Members
Points: 21 Visits: 94
on one of my servers i checked the Lazy Writes / sec and i get a very very high value of 2635802.

everywhere i read that this should be < 20

is this a incremental value of last server start and i should get this value on intervals and find the difference or what?!

this server has been online and never restarted for 18 months now. Meanning that everything works just fine but this is a counter that i had never looked at and wondering if this is some kinda memory problem.

BTW its sql server 2008

thanx
idokle
idokle
Grasshopper
Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)Grasshopper (21 reputation)

Group: General Forum Members
Points: 21 Visits: 94
Found the answer to my own question.

Yes it is as i suspected. It is incremental. So if someone would like to get this value you should run:

declare @LazyPerSec bigint
SELECT @LazyPerSec = [cntr_value]
FROM sys.dm_os_performance_counters
where [counter_name]='Lazy writes/sec'
order by [counter_name]

WAITFOR DELAY '00:00:05'

SELECT ([cntr_value]-@LazyPerSec) / 5
FROM sys.dm_os_performance_counters
where [counter_name]='Lazy writes/sec'
order by [counter_name]
Igor Micev
Igor Micev
SSCertifiable
SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)SSCertifiable (6K reputation)

Group: General Forum Members
Points: 5950 Visits: 5084
Hi

When this indicator is greater than 20, then it indicates a need for more memory. Yours is much greater than 20.
Is your memory small?
Check some more like Page reads/writes per sec, Page Life Expectancy, and some other Buffer manager and Memory performance counters.

Regards
IgorMi

Igor Micev,
SQL Server developer at Seavus
My blog: www.igormicev.com
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search