Linux 上的 MSSQL: 探索資料庫引擎資源集區

Microsoft.SQLServer.Linux.Discovery.ResourcePool (Discovery)

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

Knowledge Base article:

摘要

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

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

忽略不含記憶體最佳化資料的集區

必須是 'true' 或 'false'。當此屬性設定為 true 時,將只會探索已繫結之資料庫的集區。資料庫可以使用函式 sys.sp_xtp_bind_db_resource_pool 繫結到集區。

間隔 (秒)

每次重複執行工作流程之間的時間間隔 (秒)。

14400

同步處理時間

同步處理時間使用 24 小時制。可予省略。

 

逾時 (秒)

指定流程被關閉及標示為失敗之前,允許執行的時間。

300

Element properties:

TargetMicrosoft.SQLServer.Linux.DBEngine
EnabledFalse
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.SQLServer.Linux.Discovery.ResourcePool" Enabled="false" Target="Microsoft.SQLServer.Linux.DBEngine">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.Linux.InternalPool"/>
<DiscoveryClass TypeID="Microsoft.SQLServer.Linux.DefaultPool"/>
<DiscoveryClass TypeID="Microsoft.SQLServer.Linux.UserDefinedPool"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.Linux.DataSource.ResourcePool">
<MachineName>$Target/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.DBEngine"]/MachineName$</MachineName>
<NetbiosComputerName>$Target/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.DBEngine"]/NetbiosComputerName$</NetbiosComputerName>
<InstanceName>$Target/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.DBEngine"]/InstanceName$</InstanceName>
<ConnectionString>$Target/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.DBEngine"]/ConnectionString$</ConnectionString>
<InstanceVersion>$Target/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.DBEngine"]/Version$</InstanceVersion>
<InstanceEdition>$Target/Property[Type="SqlCoreLib!Microsoft.SQLServer.Core.DBEngine"]/Edition$</InstanceEdition>
<OnlyInMemoryOLTPPools>true</OnlyInMemoryOLTPPools>
<SqlExecTimeoutSeconds>60</SqlExecTimeoutSeconds>
<SqlTimeoutSeconds>15</SqlTimeoutSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
</DataSource>
</Discovery>