Linux 上 SQL Server 資料來源資料庫引擎資源集區

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

此資料來源會探索指定 SQL Server 資料庫引擎執行個體的所有資源集區。

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.Linux.DataSource.ResourcePoolProbe Default

Overrideable Parameters:

IDParameterTypeSelectorDisplay NameDescription
OnlyInMemoryOLTPPoolsstring$Config/OnlyInMemoryOLTPPools$忽略不含記憶體最佳化資料的集區必須是 'true' 或 'false'。當此屬性設定為 true 時,將只會探索已繫結之資料庫的集區。資料庫可以使用函式 sys.sp_xtp_bind_db_resource_pool 繫結到集區。
IntervalSecondsint$Config/IntervalSeconds$間隔 (秒)每次重複執行工作流程之間的時間間隔 (秒)。
SqlExecTimeoutSecondsint$Config/SqlExecTimeoutSeconds$
SqlTimeoutSecondsint$Config/SqlTimeoutSeconds$
TimeoutSecondsint$Config/TimeoutSeconds$逾時 (秒)指定流程被關閉及標示為失敗之前,允許執行的時間。
SyncTimestring$Config/SyncTime$同步處理時間同步處理時間使用 24 小時制。可予省略。

Source Code:

<DataSourceModuleType ID="Microsoft.SQLServer.Linux.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="NetbiosComputerName" 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="InstanceVersion" type="xsd:string"/>
<xsd:element xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="InstanceEdition" 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="SqlExecTimeoutSeconds" type="xsd:integer"/>
<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="SqlExecTimeoutSeconds" ParameterType="int" Selector="$Config/SqlExecTimeoutSeconds$"/>
<OverrideableParameter ID="SqlTimeoutSeconds" ParameterType="int" Selector="$Config/SqlTimeoutSeconds$"/>
<OverrideableParameter ID="TimeoutSeconds" ParameterType="int" Selector="$Config/TimeoutSeconds$"/>
<OverrideableParameter ID="SyncTime" ParameterType="string" Selector="$Config/SyncTime$"/>
</OverrideableParameters>
<ModuleImplementation>
<Composite>
<MemberModules>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.Linux.DataSource.ResourcePoolProbe">
<MachineName>$Config/MachineName$</MachineName>
<NetbiosComputerName>$Config/NetbiosComputerName$</NetbiosComputerName>
<InstanceName>$Config/InstanceName$</InstanceName>
<ConnectionString>$Config/ConnectionString$</ConnectionString>
<DiscoveryType>ResourcePool</DiscoveryType>
<DatabaseName/>
<OnlyInMemoryOLTPPools>$Config/OnlyInMemoryOLTPPools$</OnlyInMemoryOLTPPools>
<InstanceVersion>$Config/InstanceVersion$</InstanceVersion>
<InstanceEdition>$Config/InstanceEdition$</InstanceEdition>
<Login>$RunAs[Name="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.SqlCredentials"]/UserName$</Login>
<Password>$RunAs[Name="SqlCoreLib!Microsoft.SQLServer.Core.RunAs.SqlCredentials"]/Password$</Password>
<InternalPoolClassId>$MPElement[Name='Microsoft.SQLServer.Linux.InternalPool']$</InternalPoolClassId>
<DefaultPoolClassId>$MPElement[Name='Microsoft.SQLServer.Linux.DefaultPool']$</DefaultPoolClassId>
<UserDefinedResourcePoolClassId>$MPElement[Name='Microsoft.SQLServer.Linux.UserDefinedPool']$</UserDefinedResourcePoolClassId>
<DatabaseReferencesUserResourcePoolRelationshipId>$MPElement[Name='Microsoft.SQLServer.Linux.DatabaseReferencesUserResourcePool']$</DatabaseReferencesUserResourcePoolRelationshipId>
<DatabaseClassId>$MPElement[Name='Microsoft.SQLServer.Linux.Database']$</DatabaseClassId>
<DiscoverySourceObjectId>$MPElement$</DiscoverySourceObjectId>
<DiscoverySourceManagedEntityId>$Target/Id$</DiscoverySourceManagedEntityId>
<SqlExecTimeoutSeconds>$Config/SqlExecTimeoutSeconds$</SqlExecTimeoutSeconds>
<SqlTimeoutSeconds>$Config/SqlTimeoutSeconds$</SqlTimeoutSeconds>
<TimeoutSeconds>$Config/TimeoutSeconds$</TimeoutSeconds>
<IntervalSeconds>$Config/IntervalSeconds$</IntervalSeconds>
<Publisher>SQLDiscoveryLinux</Publisher>
<ManagementGroupName>$Target/ManagementGroup/Name$</ManagementGroupName>
</DataSource>
</MemberModules>
<Composition>
<Node ID="DS"/>
</Composition>
</Composite>
</ModuleImplementation>
<OutputType>System!System.Discovery.Data</OutputType>
</DataSourceModuleType>