sp_replmonitorsubscriptionpendingcmds (Transact-SQL)
Işlem yayın ve kaba bir tahmini, bunları işlemek için gereken süreyi, komutları bir abonelik için bekleyen sayısına bilgi verir.Bu saklı yordam, döndürülen her abonelik için bir satır döndürür.Çoğaltma izlemek için kullanılan Bu saklı yordam dağıtımcı dağıtım veritabanı üzerinde sırasında yürütülür.
sp_replmonitorsubscriptionpendingcmds [ @publisher = ] 'publisher'
, [ @publisher_db = ] 'publisher_db'
, [ @publication = ] 'publication'
, [ @subscriber = ] 'subscriber'
, [ @subscriber_db = ] 'subscriber_db'
, [ @subscription_type = ] subscription_type
Bağımsız değişkenler
[ Yayımcı'ın = ] 'publisher'
Is the name of the Publisher.publisher is sysname, with no default.[ @ publisher_db = ] 'publisher_db'
Is the name of the published database.publisher_db is sysname, with no default.[ @ yayın= ] 'publication'
Is the name of the publication.publication is sysname, with no default.[ @ abone = ] 'subscriber'
Is the name of the Subscriber.subscriber is sysname, with no default.[ @ subscriber_db = ] 'subscriber_db'
Is the name of the subscription database.subscriber_db is sysname, with no default.[ @ subscription_type = ] subscription_type
If the type of subscription.publication_type is int, with no default and can be one of these values.Değer
Açıklama
0
Abonelik itin.
1
Abonelik isteme
Sonuç Kümeleri
Sütun adı |
Veri türü |
Açıklama |
---|---|---|
pendingcmdcount |
int |
Bekleyen komut sayısını aboneliğin. |
estimatedprocesstime |
int |
Tüm bekleyen komutları için abone sağlamak için gereken süreyi saniye cinsinden tahmini. |
Dönüş Kodu Değerleri
0 (başarılı) veya 1 (hata)
Remarks
sp_replmonitorsubscriptionpendingcmds işlem çoğaltma ile kullanılır.
İzinler
Yalnızca üyeleri sysadmin Dağıtımcı veya üye sabit sunucu rolüdb_owner sabit veritabanı rolü Dağıtım veritabanında yapabilirsiniz yürütmek sp_replmonitorsubscriptionpendingcmds.dağıtım veritabanı kullanan bir yayın için yayın erişim listesinin üyeleri çalıştırabilirsiniz sp_replmonitorsubscriptionpendingcmds komutları bu yayın için bekleyen dönün.
See Also