SQL Server-Datenquelle: Ressourcenpools der Datenbank-Engine unter Linux

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

Diese Datenquelle ermittelt alle Ressourcenpools für eine bestimmte Instanz des SQL Server-Datenbankmoduls.

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$Pools ohne speicheroptimierte Daten ignorierenMuss "true" oder "false" sein. Wenn diese Eigenschaft auf "true" festgelegt ist, werden nur Pools mit gebundenen Datenbanken ermittelt. Eine Datenbank kann mithilfe der Funktion "sys.sp_xtp_bind_db_resource_pool" an einen Pool gebunden werden.
IntervalSecondsint$Config/IntervalSeconds$Intervall (Sekunden)Gibt das Wiederholungsintervall in Sekunden für die Ausführung des Workflows an.
SqlExecTimeoutSecondsint$Config/SqlExecTimeoutSeconds$
SqlTimeoutSecondsint$Config/SqlTimeoutSeconds$
TimeoutSecondsint$Config/TimeoutSeconds$Timeout (Sekunden)Gibt die Zeit an, zu der der Workflow ausgeführt werden dann, bevor er geschlossen und als fehlerhaft markiert wird.
SyncTimestring$Config/SyncTime$SynchronisierungszeitDie Synchronisierungszeit, angegeben im 24-Stunden-Format. Dieser Wert kann ausgelassen werden.

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>