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

What does Logging mean in the Resource Waits section of Activity Monitor in Sql Server 2008? Expand / Collapse
Author
Message
Posted Monday, November 9, 2009 2:33 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, October 29, 2010 8:45 AM
Points: 3, Visits: 28
I have just found the exellent Activity Monitor tool in 2008. Whilst going through the different views I noticed that in my resource waits, the entry Logging is extremely high.

Over 1000ms/sec which I reckon is pretty nasty.

I have been trying to find out what Logging is actually showing. Can anyone give me any pointers to where I should be looking. Is this transaction logging or harddrive logging or what. What performance counters should I be looking at.

In the resource monitor I can see my HD is about 10% normal use but the Most active used is always way higher.

I am at a loss.

Any suggestions would be gratefully received.

Thanks,
Graeme.
Post #815682
Posted Monday, November 16, 2009 6:36 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 8:01 AM
Points: 1,070, Visits: 906
Great question - anyone got any info beyond BOL?

eg: ms-help://MS.SQLCC.v10/MS.SQLSVR.v10.en/s10de_6tsql/html/568d89ed-2c96-4795-8a0c-2f3e375081da.htm



Post #819340
Posted Monday, November 16, 2009 7:00 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, October 29, 2010 8:45 AM
Points: 3, Visits: 28
Thanks for the pointer to BOL.
I have ran the query and the worst offending seem to be the following

NAME Wait Count Wait Time MS Max Wait Time MS Signal WaitTime
LAZYWRITER_SLEEP 392136 382873704 1876 32982
REQUEST_FOR_DEADLOCK_SEARCH 76571 382871964 5001 382871964
XE_TIMER_EVENT 12764 382871099 30001 382869148
XE_DISPATCHER_WAIT 872 382811081 27270651 0
LOGMGR_QUEUE 8587544 382528966 14396 500086
SQLTRACE_BUFFER_FLUSH 95330 381356099 4903 3124
FT_IFTS_SCHEDULER_IDLE_WAIT 6329 379683653 60388 297
CHECKPOINT_QUEUE 5858 363292951 2132168 600
WRITELOG 8561379 202072174 5678 645332
SLEEP_TASK 4508822 193493788 3581 26874
BROKER_TO_FLUSH 186919 191432192 1889 8667
ASYNC_NETWORK_IO 785080 82032452 15400 120107
PAGEIOLATCH_SH 1038811 23072621 5003 26797

This was ordered by total wait time. But call me a numpty, I have read the BOL description for most of the above and it means nothing to me.
If you saw these figures apart from being appalled what would you then go and look at? We have a SCSI raid drive as we are on a hosted server using the web edition of SQL.

Many thanks. Graeme.
Post #819358
Posted Monday, November 16, 2009 9:32 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Yesterday @ 8:01 AM
Points: 1,070, Visits: 906
Try looking in here: http://technet.microsoft.com/en-gb/library/cc966413.aspx

Looks like a handy whitepaper "SQL Server 2005 Waits and Queues SQL Server Best Practices Article"





Post #819472
Posted Monday, November 16, 2009 9:46 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Friday, October 29, 2010 8:45 AM
Points: 3, Visits: 28
Thanks for that. I will have a read of that this evening.
I assume the majority of it will be relevant to 2008 also.
Post #819484
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse