指定給複寫記錄檔掃描的起始記錄序號無效。
儲存在散發資料庫複寫資料表中的記錄序號 (LSN),晚於交易記錄中所指定記錄讀取器代理程式下一個要讀取的 LSN。這表示資料在發行者與散發者之間出現不一致,而記錄讀取器代理程式處理序並不知道下一個要讀取哪一個記錄才正確。如果已從 MSrepl_transactions 複寫資料表手動刪除了資料列,或是如果散發資料庫已啟用 [sync with backup],但在沒有確定資料庫之間均一致的情況況下,還原了發行集資料庫,即可能發生這種情況。
可能會出現此情形的狀況有:
已為發行資料庫啟用 Sync with backup。正在進行活動且正在執行記錄讀取器代理程式時,進行了發行資料庫的備份。請將發行者資料庫還原為較早的備份副本。
未對發行資料庫啟用 Sync with backup。正在進行活動且正在執行記錄讀取器代理程式時,進行了發行資料庫的備份。請還原發行者資料庫。
重新初始化受影響交易式發行集的所有訂閱,以確保資料保持同步。
名稱 | 描述 | 預設值 |
已啟用 | 啟用或停用該工作流程。 | 否 |
優先順序 | 定義警示優先順序。 | 2 |
嚴重性 | 定義警示嚴重性。 | 2 |
Target | Microsoft.SQLServer.2008.DBEngine | ||
Category | EventCollection | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | High | ||
Remotable | True | ||
Alert Message |
|
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SQLServer.2008.EventProvider | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SQLServer.2008.BeginLSNSpecifiedForReplicationLogscanInvalidRule" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" Enabled="false" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<PublisherName>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</PublisherName>
<EventNumber>18765</EventNumber>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2008.BeginLSNSpecifiedForReplicationLogscanInvalidRule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>Event ID: $Data/EventDisplayNumber$. $Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>