A very common question I often receive during Comprehensive Database Performance Health Check is what is the best value for Maximum Worker Threads.
I have an interesting experience to share about the Query Ignoring CPU Threads. I was hired by a large eCommerce organization.
He wanted to track the OS Thread ID in Performance Monitor. He asked me if I know any script which can Map SQL Server Session ID to OS Thread ID.
I strongly suggest that you first watch it before we continue on today’s topic of SQLOS Scheduler and the Process States.