DEFINITIONS

Definitions More Info.
Definition ID975
TitleSQL
CategoryNOTES
Definitionmax worker thread ne zaman kullanmalýyýz
Definition Descriptionhttps://blogs.msdn.microsoft.com/sqlsakthi/2011/03/13/max-worker-threads-and-when-you-should-change-it/

Should I configure SQL Server to use more threads – sp_configure ‘max server threads’?

You can answer this question by looking at the work queue length for each scheduler. If on average such value is above 1 then you might benefit from adding more threads to the system but only if

A. Your load currently is not CPU bounded

B. Your load currently doesn’t experience any other heavy waits (If you add more threads in this case they will just end up waiting as everyone else)


select AVG (work_queue_count)
from sys.dm_os_schedulers
where status = 'VISIBLE ONLINE'
RecordBycunay
Record Date10-09-2019 11:07:06
Düzenle
Kopyala
Sil