記憶體最佳化資料過時成對檢查點檔案比率 (積存)

Microsoft.SQLServer.2016.DependencyMonitor.Database.StaleCFPs (DependencyMonitor)

此監視器會回報重大狀態,並在記憶體最佳化資料檔案群組中的過時成對檢查點檔案比率高於指定的臨界值時引發警示。此監視器是相依性 (積存) 監視器。

Knowledge Base article:

摘要

此監視器會回報重大狀態,並在記憶體最佳化資料檔案群組中的過時成對檢查點檔案部分高於指定的臨界值時引發警示。

過時 CFP 是留在系統中等待進行記錄截斷或記憶體回收的檔案

原因

背景執行緒所執行的自動合併和 (或) 資料持續性,無法與交易活動同步。

已根據內部合併原則開始合併 CFP。如需詳細資料,請參閱 這篇文章

解決方式

依下列文章所述,執行手動合併與強制記憶體回收:

同時,也應該確認記憶體最佳化檔案群組的資料儲存體,是否未低於 IO 壓力。

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

產生警示

定義工作流程是否會產生警示。

Element properties:

TargetMicrosoft.SQLServer.2016.Database
Parent MonitorSystem.Health.PerformanceState
AlgorithmWorstOf
Source MonitorMicrosoft.SQLServer.2016.Monitor.DBFileGroupFx.StaleCFPs
RelationshipMicrosoft.SQLServer.2016.RelationshipType.DBHostsDBFileGroupFx
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
Alert Auto ResolveFalse
RemotableTrue
AccessibilityPublic

Source Code:

<DependencyMonitor ID="Microsoft.SQLServer.2016.DependencyMonitor.Database.StaleCFPs" Accessibility="Public" Enabled="true" Target="SQL2016Core!Microsoft.SQLServer.2016.Database" ParentMonitorID="SystemHealth!System.Health.PerformanceState" Remotable="true" Priority="Normal" RelationshipType="SQL2016Core!Microsoft.SQLServer.2016.RelationshipType.DBHostsDBFileGroupFx" MemberMonitor="Microsoft.SQLServer.2016.Monitor.DBFileGroupFx.StaleCFPs">
<Category>PerformanceCollection</Category>
<Algorithm>WorstOf</Algorithm>
<MemberUnAvailable>Error</MemberUnAvailable>
</DependencyMonitor>