정보

Core별 MSSQL 'max worker threads' Default 값 설정

Core 기준 : 논리 코어

 

'max worker threads' 설정 값 확인

  • SELECT max_workers_count FROM sys.dm_os_sys_info
  • sp_configure 'max worker threads'

기준

예시

CPU : 물리 코어 24 ( 논리 코어 48 )

512 + (( 48 - 4 ) * 16 ) = 1,216

 

 참고 : https://blog.sqlauthority.com/2018/06/15/sql-server-optimal-value-max-worker-threads/

현상

특정 서비스가 실행중이지 않으면 Windows의 psexec를 사용할때 아래 에러가 발생

 

에러 내용

The network name cannot be found

필요 서비스

Server (LanmanServer) must be running
TCP/IP NetBIOS Helper (lmhosts) must be running
UpnP Device Host -> 수동
SSDP Discovery -> 수동 -> 러닝

참고 : https://superuser.com/questions/1158722/psexec-requirements-on-local-computer


to Top