Репликация MSSQL 2014: число публикаций для издателя

Microsoft.SQLServer.2014.Replication.CollectionRule.Publisher.PublisherPublicationsPerformanceCounter (Rule)

Число публикаций для издателя.

Knowledge Base article:

Сводка

Число публикаций для издателя.

Переопределяемые параметры

Имя

Описание

Значение по умолчанию

Включено

Включает или отключает рабочий процесс

Да

Интервал (секунды)

Повторяющийся интервал времени в секундах, по истечении которого запускается рабочий процесс.

900

Время ожидания (секунды)

Время ожидания (секунды)

300

Время синхронизации

Время синхронизации

 

Element properties:

TargetMicrosoft.SQLServer.2014.Replication.Publisher
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2014.Replication.DataSource.PublisherPublicationsPerformanceCounter Microsoft.SQLServer.Replication.Monitoring.RunAs.Monitor
Mapper ConditionDetection System.Performance.DataGenericMapper Default
WriteToDatabase WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.SQLServer.2014.Replication.CollectionRule.Publisher.PublisherPublicationsPerformanceCounter" Enabled="true" Target="MS2RD!Microsoft.SQLServer.2014.Replication.Publisher" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2014.Replication.DataSource.PublisherPublicationsPerformanceCounter" RunAs="MSRL!Microsoft.SQLServer.Replication.Monitoring.RunAs.Monitor">
<SqlTimeout>300</SqlTimeout>
<ConnectionString>$Target/Property[Type="MSRL!Microsoft.SQLServer.Replication.Library.GenericPublisher"]/ConnectionString$</ConnectionString>
<IntervalSeconds>900</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<ConditionDetection ID="Mapper" TypeID="Perf!System.Performance.DataGenericMapper">
<ObjectName>$Target/Property[Type="MSRL!Microsoft.SQLServer.Replication.Library.GenericPublisher"]/InstanceName$</ObjectName>
<CounterName>Publisher: Count of Publications</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='PublisherPublicationsCount']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDatabase" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>