MSSQL 2014-Replikation: Anzahl der Abonnements für den Abonnenten

Microsoft.SQLServer.2014.Replication.CollectionRule.Subscriber.SubscriberSubscriptionsPerformanceCounter (Rule)

Die Anzahl der Abonnements für den Abonnenten.

Knowledge Base article:

Zusammenfassung

Die Anzahl der Abonnements für den Abonnenten.

Überschreibbare Parameter

Name

Beschreibung

Standardwert

Aktiviert

Aktiviert oder deaktiviert den Workflow.

Ja

Intervall (Sekunden)

Das periodische Intervall in Sekunden, in dem der Workflow ausgeführt werden soll.

900

Timeout (Sekunden)

Timeout (Sekunden)

300

Synchronisierungszeit

Synchronisierungszeit

 

Element properties:

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

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2014.Replication.DataSource.SubscriberSubscriptionsPerformanceCounter 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.Subscriber.SubscriberSubscriptionsPerformanceCounter" Enabled="true" Target="MS2RD!Microsoft.SQLServer.2014.Replication.Subscriber" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2014.Replication.DataSource.SubscriberSubscriptionsPerformanceCounter" RunAs="MSRL!Microsoft.SQLServer.Replication.Monitoring.RunAs.Monitor">
<SqlTimeout>300</SqlTimeout>
<ConnectionString>$Target/Property[Type="MSRL!Microsoft.SQLServer.Replication.Library.GenericSubscriber"]/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.GenericSubscriber"]/InstanceName$</ObjectName>
<CounterName>Subscriber: Count of Subscriptions</CounterName>
<InstanceName/>
<Value>$Data/Property[@Name='SubscriberSubscriptionsCount']$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDatabase" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>