Правило очистки сведений о состоянии задания для хранилища данных
Microsoft.SystemCenter.DataWarehouse.Synchronization.JobStatusGrooming (Rule)
Это правило очищает данные из таблиц агента отслеживания изменений и монитора отслеживания изменений со сбросом.
Element properties:
Member Modules:
Source Code:
<Rule ID="Microsoft.SystemCenter.DataWarehouse.Synchronization.JobStatusGrooming" Target="Microsoft.SystemCenter.DataWarehouseSynchronizationService" Enabled="true" ConfirmDelivery="true">
<Category>System</Category>
<DataSources>
<DataSource ID="TimerDataSource" TypeID="Microsoft.SystemCenter.DataWarehouse.Synchronization.JobStatusGroomingDataSource">
<ChangeTrackingGroomingFrequencyMinutes>1440</ChangeTrackingGroomingFrequencyMinutes>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.SystemCenter.DataWarehouse.Synchronization.JobStatusGroomingWriter">
<ManagementGroupId>$Target/ManagementGroup/Id$</ManagementGroupId>
<SynchronizationProcessId>$MPElement$</SynchronizationProcessId>
<ChangeTrackingAgentAgeDays>400</ChangeTrackingAgentAgeDays>
<ChangeTrackingResetMonitorAgeDays>400</ChangeTrackingResetMonitorAgeDays>
<SqlAuthentication>
<Login>$RunAs[Name="DataWarehouse!Microsoft.SystemCenter.DataWarehouse.SqlAuthenticationActionAccount"]/UserName$</Login>
<Password>$RunAs[Name="DataWarehouse!Microsoft.SystemCenter.DataWarehouse.SqlAuthenticationActionAccount"]/Password$</Password>
</SqlAuthentication>
</WriteAction>
</WriteActions>
</Rule>