探索資料清理

Microsoft.SystemCenter.SqlJobs.DiscoveryDataPurging (Rule)

此系統規則會清理探索資料。

Knowledge Base article:

摘要

此規則為內部使用,以執行資料庫維護工作和作業。 不應覆寫此規則,否則會對操作資料庫的整體健全狀況、功能和一致性有負面影響。

原因

本部分不適用此規則類型。

解決方式

此規則類型不需要任何使用者動作。

Element properties:

TargetMicrosoft.SystemCenter.AllManagementServersPool
CategoryMaintenance
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Scheduler Default
WA WriteAction Microsoft.SystemCenter.SqlJobExecuter Default

Source Code:

<Rule ID="Microsoft.SystemCenter.SqlJobs.DiscoveryDataPurging" Enabled="true" Target="SCLibrary!Microsoft.SystemCenter.AllManagementServersPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Maintenance</Category>
<DataSources>
<DataSource ID="DS" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Days">1</Interval>
<SyncTime>02:00</SyncTime>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.SqlJobExecuter">
<JobName>p_DataPurging</JobName>
</WriteAction>
</WriteActions>
</Rule>