Windows의 MSSQL: Windows의 데이터 원본 데이터베이스 엔진 리소스 풀

Microsoft.SQLServer.Windows.DataSource.ResourcePool (DataSourceModuleType)

이 데이터 원본은 SQL Server DB 엔진의 지정된 인스턴스에 대해 모든 리소스 풀을 검색합니다.

Element properties:

TypeDataSourceModuleType
IsolationAny
AccessibilityInternal
RunAsMicrosoft.SQLServer.Core.RunAs.Discovery
OutputTypeSystem.Discovery.Data

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.Windows.DataSource.ResourcePoolProbe Default
ClassMapper ConditionDetection Microsoft.SQLServer.Windows.Discovery.DiscoveryDataMapper Default
FilterInMemoryOLTP ConditionDetection Microsoft.SQLServer.Windows.ConditionDetection.ResourcePoolDiscoveryFilter Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
OnlyInMemoryOLTPPoolsstring$Config/OnlyInMemoryOLTPPools$메모리 최적화 데이터가 없는 풀 무시'True' 또는 'False'여야 합니다. 이 속성이 True인 경우 검색을 수행하면 바인딩된 데이터베이스가 있는 풀만 검색됩니다. 데이터베이스를 풀에 바인딩하려면 sys.sp_xtp_bind_db_resource_pool 함수를 사용해야 합니다.
IntervalSecondsint$Config/IntervalSeconds$간격(초)워크플로를 실행하는 반복 시간 간격(초)입니다.
SyncTimestring$Config/SyncTime$동기화 시간24시간 형식으로 지정된 동기화 시간입니다. 생략될 수 있습니다.
TimeoutSecondsint$Config/TimeoutSeconds$시간 제한(초)여기서 지정한 시간 동안 워크플로가 실행된 후 워크플로가 닫히고 실패로 표시됩니다.

Source Code:

<DataSourceModuleType ID="Microsoft.SQLServer.Windows.DataSource.ResourcePool" Accessibility="Internal" RunAs="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.Discovery">
<Configuration>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MachineName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceName" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ConnectionString" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="MonitoringType" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="OnlyInMemoryOLTPPools" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SqlTimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="TimeoutSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="IntervalSeconds" type="xsd:integer"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="SyncTime" type="xsd:string"/>
</Configuration>
<OverrideableParameters>
<OverrideableParameter ID="OnlyInMemoryOLTPPools" ParameterType="string" Selector="$Config/OnlyInMemoryOLTPPools$"/>
<OverrideableParameter ID="IntervalSeconds" ParameterType="int" Selector="$Config/IntervalSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.Windows.DataSource.ResourcePoolProbe">
<MachineName>$Config/MachineName$</MachineName>
<InstanceName>$Config/InstanceName$</InstanceName>
<ConnectionString>$Config/ConnectionString$</ConnectionString>
<MonitoringType>$Config/MonitoringType$</MonitoringType>
<SqlTimeoutSeconds>$Config/SqlTimeoutSeconds$</SqlTimeoutSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<SyncTime>$Config/SyncTime$</SyncTime>
</DataSource>
<ConditionDetection ID="FilterInMemoryOLTP" TypeID="Microsoft.SQLServer.Windows.ConditionDetection.ResourcePoolDiscoveryFilter">
<OnlyInMemoryOLTPPools>$Config/OnlyInMemoryOLTPPools$</OnlyInMemoryOLTPPools>
<Publisher>SQLDiscoveryWindows</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</ConditionDetection>
<ConditionDetection ID="ClassMapper" TypeID="Microsoft.SQLServer.Windows.Discovery.DiscoveryDataMapper">
<Publisher>SQLDiscoveryWindows</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<MappingConfig>
<Value>
<FilterProperty>
<Value>
<PropertyName>ObjectType</PropertyName>
<PropertyValue>1</PropertyValue>
</Value>
</FilterProperty>
<SkipProperty>
<Value>ObjectType</Value>
</SkipProperty>
<AddProperty>
<Value>
<PropertyName>MachineName</PropertyName>
<PropertyValue>$Config/MachineName$</PropertyValue>
</Value>
<Value>
<PropertyName>InstanceName</PropertyName>
<PropertyValue>$Config/InstanceName$</PropertyValue>
</Value>
</AddProperty>
</Value>
</MappingConfig>
</ConditionDetection>
</MemberModules>
<Composition>
<Node ID="ClassMapper">
<Node ID="FilterInMemoryOLTP">
<Node ID="DS"/>
</Node>
</Node>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>