|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: 2 days ago @ 12:27 PM
Points: 280,
Visits: 1,027
|
|
Hi all, This service broker query consumes high CPU above 80% and ave duration is 285 sec. WAITFOR(RECEIVE conversation_handle, service_contract_name, message_type_name, message_body FROM ExternalMailQueue INTO @msgs), TIMEOUT @rec_timeout
Any idea what steps to take resolve this issue? Thanks
Aim to inspire rather than to teach. SQL Server DBA
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Today @ 1:53 PM
Points: 2,984,
Visits: 4,403
|
|
Ankit.shah22 (4/11/2012) Hi all, This service broker query consumes high CPU above 80% and ave duration is 285 sec. WAITFOR(RECEIVE conversation_handle, service_contract_name, message_type_name, message_body FROM ExternalMailQueue INTO @msgs), TIMEOUT @rec_timeout
Any idea what steps to take resolve this issue?
Trace the query, see what is really doing. Look at wait events and execution plan.
_____________________________________ Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
|
|
|
|
|
Grasshopper
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 12:18 PM
Points: 22,
Visits: 124
|
|
logicinside22 (4/11/2012) Hi all, This service broker query consumes high CPU above 80% and ave duration is 285 sec. WAITFOR(RECEIVE conversation_handle, service_contract_name, message_type_name, message_body FROM ExternalMailQueue INTO @msgs), TIMEOUT @rec_timeout
Any idea what steps to take resolve this issue? Thanks
Hi logicinside22,
Did you find a solution? I am also seeing this query last days.
Regards
|
|
|
|