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

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

當記憶體最佳化資料檔案群組中過時的成對檢查點檔案比率高於指定的閾值時,此監視器會回報警告狀態並引發警示。此監視器為相依性 (積存) 監視器。
請注意,僅當對應的資料庫相當大時 (總計 300 (含) 個以上的檢查點檔案),才會引發警示。

Knowledge Base article:

摘要

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

請注意,僅當對應的資料庫相當大時 (總計 300 (含) 個以上的檢查點檔案),才會引發警示。

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

原因

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

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

解決方式

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

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

可覆寫的參數

名稱

描述

預設值

已啟用

啟用或停用該工作流程。

產生警示

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

Element properties:

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

Source Code:

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