Assistance in reading output

  • Hi,

    I need some assistance in reading the below output.  One of the people here thought it be a wise idea to run an audit tracking system for all PCs three times a day but after doing some initial analysis on the database server I have notice a performance difference.  The output shows processess and I would like to verify in bring this matter up to kill the number of times this system should be running.

    Thanks,

    Minutesspidwaittypecpuphysical_ioServer Name  spidlast_batchcmd
    56075676520x000002Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 521/1/1900AWAITING COMMAND
    56075676530x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 531/1/1900AWAITING COMMAND
    56075676540x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 541/1/1900AWAITING COMMAND
    56075676550x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 551/1/1900AWAITING COMMAND
    56075676560x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 561/1/1900AWAITING COMMAND
    56075676570x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 571/1/1900AWAITING COMMAND
    56075676580x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 581/1/1900AWAITING COMMAND
    56075676590x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 591/1/1900AWAITING COMMAND
    56075676600x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 601/1/1900AWAITING COMMAND
    56075676610x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 611/1/1900AWAITING COMMAND
    56075676640x000000Server NameTrack-It! 7.0  Aug 14 2006 10:36AM 641/1/1900AWAITING COMMAND
    79710x00006560Server Name               Aug 14 2006 10:36AM 18/13/2006LAZY WRITER     
    79720x000017500Server Name               Aug 14 2006 10:36AM 28/13/2006LOG WRITER      
    79730x00001560Server Name               Aug 14 2006 10:36AM 38/13/2006LOCK MONITOR    
    79740x0000310Server Name               Aug 14 2006 10:36AM 48/13/2006SIGNAL HANDLER  
    79750x000000Server Name               Aug 14 2006 10:36AM 58/13/2006TASK MANAGER    
    79760x000000Server Name               Aug 14 2006 10:36AM 68/13/2006TASK MANAGER    
    79770x00000254Server Name               Aug 14 2006 10:36AM 78/13/2006TASK MANAGER    
    79780x0000162584Server Name               Aug 14 2006 10:36AM 88/13/2006CHECKPOINT SLEEP
    79790x000000Server Name               Aug 14 2006 10:36AM 98/13/2006TASK MANAGER    
    797100x00000259Server Name               Aug 14 2006 10:36AM 108/13/2006TASK MANAGER    
    797110x000002Server Name               Aug 14 2006 10:36AM 118/13/2006TASK MANAGER    
    797120x000008Server Name               Aug 14 2006 10:36AM 128/13/2006TASK MANAGER    
    797130x00000210Server Name               Aug 14 2006 10:36AM 138/13/2006TASK MANAGER    
    797150x0000094Server Name               Aug 14 2006 10:36AM 158/13/2006TASK MANAGER    
    797660x000000Server NameSQLAgent - EmaiAug 14 2006 10:36AM 668/13/2006AWAITING COMMAND
    797630x00006242Server NameSQLAgent - GeneAug 14 2006 10:36AM 638/13/2006AWAITING COMMAND
    796510x000015716Server Name               Aug 14 2006 10:36AM 518/13/2006AWAITING COMMAND
    4680x000001Server NameSQL Query AnalyAug 14 2006 10:36AM 688/14/2006SELECT          
  • You should filter out spids less than 52 (<=51), the system processes wont need to be looked at, and order that list!

    I am guessing the minute count is high because there is no last batch (and you couldnt use seconds - arithemtic overflow - I set last batch = 01/01/1978 if last batch = 01/01/1901).

    Those transactions will not cause any noticeable performance degradation since they are only connections that have been opened and are not representative of actual queries. It DOES reek of a bad application design that may be indicative of other poorly structured queries / schemas. (its perfectly normal for these AWAITING COMMAND's to show for a split second until the batch is sent)

    Other than that, spid 66 and 63 may need a look to see what they are doing.

    Sp_who3 (if you have full sa access), or sp_what (if you dont) will give you a better idea of what is going on as far as process times and blocked processes. SQL Profiler is the ultimate tool for figuring out intermittent or not readily apparent performance problems.

    Did you obfuscate the server names? If so, can you number them server 1 2 3 etc so we can see what is being issued and from where?

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply