'sqlagent'에 해당되는 글 1건

  1. sql agent에 할당된 max worker thread 수는 얼마일까?

안녕하세요. 주디아줌마입니다.

max work thread가 도달할 경우 아래와 같이 에러가 기록이 된다.

http://support.microsoft.com/kb/306457

-- 현, 시스템의 Max workder
select *
from sys.configurations
where configuration_id = 503

--configuration_id	name	value	minimum	maximum	value_in_use	description	is_dynamic	is_advanced
--503	max worker threads	0	128	65535	0	Maximum worker threads	1	1

-- SQL Agent JOB에 할당된 정보
exec msdb.dbo.sp_enum_sqlagent_subsystems

--subsystem	description	subsystem_dll	agent_exe	start_entry_point	event_entry_point	stop_entry_point	max_worker_threads	subsystem_id
--ActiveScripting	액티브 스크립팅 하위 시스템	C:\Program Files\Microsoft SQL Server\MSSQL11.SQL2012\MSSQL\Binn\SQLATXSS.DLL	NULL	ActiveScriptStart	ActiveScriptEvent	ActiveScriptStop	40	2
--ANALYSISCOMMAND	분석 명령 하위 시스템	C:\Program Files\Microsoft SQL Server\MSSQL11.SQL2012\MSSQL\Binn\SQLOLAPSS.DLL	NULL	OlapStart	OlapCommandEvent	OlapStop	400	10
--ANALYSISQUERY	분석 쿼리 하위 시스템	C:\Program Files\Microsoft SQL Server\MSSQL11.SQL2012\MSSQL\Binn\SQLOLAPSS.DLL	NULL	OlapStart	OlapQueryEvent	OlapStop	400	9
--CmdExec	명령줄 하위 시스템	C:\Program Files\Microsoft SQL Server\MSSQL11.SQL2012\MSSQL\Binn\SQLCMDSS.DLL	NULL	CmdExecStart	CmdEvent	CmdExecStop	40	3
--PowerShell	PowerShell 하위 시스템	C:\Program Files\Microsoft SQL Server\MSSQL11.SQL2012\MSSQL\Binn\SQLPOWERSHELLSS.DLL	C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\SQLPS.exe	PowerShellStart	PowerShellEvent	PowerShellStop	2	12
--SSIS	SSIS 패키지 실행 하위 시스템	C:\Program Files\Microsoft SQL Server\MSSQL11.SQL2012\MSSQL\Binn\SQLDTSSS.DLL	C:\Program Files\Microsoft SQL Server\110\DTS\Binn\DTExec.exe	DtsStart	DtsEvent	DtsStop	400	11
--TSQL	Transact-SQL 하위 시스템	[내부]	[내부]	[내부]	[내부]	[내부]	80	1

-- 모든 사용 가능한 SQL Server 에이전트 프록시 하위 시스템에 대한 정보
select 
	subsystem
	, max_worker_threads
from msdb.dbo.syssubsystems
go

--subsystem	max_worker_threads
--TSQL	80
--ActiveScripting	40
--CmdExec	40
--Snapshot	400
--LogReader	100
--Distribution	400
--Merge	400
--QueueReader	400
--ANALYSISQUERY	400
--ANALYSISCOMMAND	400
--SSIS	400
--PowerShell	2

'Etc' 카테고리의 다른 글

제 2회 mongodb tech semina 참석 후기  (0) 2012.09.13
MongoDB + Hadoop  (0) 2012.09.11
mongodb assert log debugging 방법  (0) 2012.09.07
MongoDB Manual  (2) 2012.09.06
truncate table시 SCH-M lock 이 걸린다.  (0) 2012.09.06