﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 7,2000 / SQL Server Newbies  / Finding an extended stored procedure? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Tue, 21 May 2013 02:23:12 GMT</lastBuildDate><ttl>20</ttl><item><title>Finding an extended stored procedure?</title><link>http://www.sqlservercentral.com/Forums/Topic1409641-169-1.aspx</link><description>Our core wait state is MSQL_XP.The documented cause is:"Caused when a task is waiting for an extended stored procedure to end. SQL Server uses this wait state to detect potential MARS application deadlocks. The wait ends when the extended stored procedure call completes."How do I find this extended stored procedure?Setup a trace for what?Here are our top ten wait states.I have no bench mark to know what this means really.Our system shows 1200 to 1400 ms wait time most often.Description,                                              Wait,              Total WaitSQLTRACE_INCREMENTAL_FLUSH_SLEEP,	1068.926441,	6024.2158MSQL_XP,	                                                       0,	250.6122539PREEMPTIVE_OS_GETPROCADDRESS,                       0,	250.6047996ASYNC_NETWORK_IO,	                       0.333300003,	12.60383067PAGEIOLATCH_EX	,                               1.099890011,	8.90908973PAGEIOLATCH_SH,                         	0.499950005,	4.126295243WRITELOG,	                                        0.166650002,	2.165293104PREEMPTIVE_OS_AUTHENTICATIONOPS,	0.166650002,	1.326802214BACKUPTHREAD,	                                               0,	0.927363158BACKUPIO,	                                                       0,	0.725151497Any clarification on the meaning and impact of these wait states would be greatly appreciated.I've read so much about this I feel like I know less than when I started.I know what causes them but don't know what to do or even if this level of wait state is a problem. We use Idera SQL diagnostic manager to monitor this.What we see is slow disk reads and writes for the data drive (D) (9ms per write) and memory paging.We moved temp DB off of D to a solid state drive. But it didn't help at all.I have a screen shot of the Idera Monitor I can send to anyone interested in helping me solve this performance issue.tia,Todd</description><pubDate>Mon, 21 Jan 2013 10:25:28 GMT</pubDate><dc:creator>TC-416047</dc:creator></item></channel></rss>