March 7, 2018 at 8:46 am
hello,
we are investigating performance issues on our application database and since turning on Azure Automatic Tuning am getting 97% waits on
SOS_WORK_DISPATCHER
there is a single article in Google when searched for this term....can anyone help?
thanks
samuel
March 7, 2018 at 8:49 am
it may not be linked to the automatic tuning....i highly doubt it is....
March 7, 2018 at 3:01 pm
sambartick 90616 - Wednesday, March 7, 2018 8:49 AMit may not be linked to the automatic tuning....i highly doubt it is....
Someone just asked about this same wait type on twitter, #sqlhelp -
Twitter #sqlhelp
Interesting that they are on Azure and see this. May be nothing but a coincidence. But have you checked workers and schedulers?
Sue
March 8, 2018 at 2:05 am
ah schedulers....yes...i have found the following:
looks like i may have been hitting max workers - one vCPU gives one scheduler
didnt think we could be hitting max workers....never been there before!!
i will investigate further....thanks for the pointer
March 8, 2018 at 2:10 am
strange...our CPU usage is under 10% and we have 90% DTU available....waiting for Azure admin to get me more information...can only see database level 🙁
March 8, 2018 at 2:28 am
there is only 1 active SPID....me
wondering what the 100 current tasks are??
also found the database levels...mentions worker threads but all look like they use a single scheduler:
we have S3 so should have 200 worker threads available but seems we are at the S2 level still
also showing 9 application sessions and 5 for me....hmmmm
March 8, 2018 at 2:38 am
oops....first query above was for my SPID....without i see about 35 application sessions
slight edit gives this:
March 9, 2018 at 3:29 pm
sambartick 90616 - Thursday, March 8, 2018 2:05 AMah schedulers....yes...i have found the following:looks like i may have been hitting max workers - one vCPU gives one scheduler
didnt think we could be hitting max workers....never been there before!!i will investigate further....thanks for the pointer
Those numbers in this one aren't bad - workers are available, runnable tasks is 0, nothing in the work queue.
Did you ever get whatever info you were looking for from the Azure admin?
Sue
March 13, 2018 at 7:56 am
no...i asked one of their support engineers what the wait type was and the reply was: are you seeing any performance issues?
so im guessing they want to investigate before saying too much...i will monitor
March 15, 2018 at 8:33 pm
sambartick 90616 - Wednesday, March 7, 2018 8:46 AMhello,we are investigating performance issues on our application database and since turning on Azure Automatic Tuning am getting 97% waits on
SOS_WORK_DISPATCHER
there is a single article in Google when searched for this term....can anyone help?
thanks
samuel
So what happens when you turn it back off? :blink:
--Jeff Moden
Change is inevitable... Change for the better is not.
March 16, 2018 at 3:13 am
since checking the stats it seems this wait type has been around for a while...sorry...misinformation!
March 16, 2018 at 6:47 am
sambartick 90616 - Friday, March 16, 2018 3:13 AMsince checking the stats it seems this wait type has been around for a while...sorry...misinformation!
It happens. Still and according to your original post and as unlikely as it may be, did the performance problems seem to start when you turned on the automatic tuning stuff and have you tried to see what happens if you turn it back off?
Also, if you are having performance issues, take a look at the 2nd link under "Helpful Links" in my signature line below. With a bit of information provided by you good folks, we can help on the performance issue(s) that you're suffering.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 23, 2018 at 9:23 pm
I believe you are using <sys.dm_os_wait_stats> table. I am not sure if it make sense to use Server level wait stats in Azure SQL Database. I recommend to use <sys.dm_db_wait_stats>!
-Vijred (http://vijredblog.wordpress.com)
Viewing 13 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic. Login to reply