Aracılığıyla paylaş


sp_replmonitorsubscriptionpendingcmds (Transact-SQL)

İşlemsel yayım ve kabaca bir tahmin ne kadar sayısı için bir abonelik komutları bekleyen bilgi verir saat , bunları işlemek için geçecek.Bu saklı yordam döndürülen her abonelik için bir satır döndürür.Dağıtım veritabanı üzerinde dağıtımcı adresindeki çoğaltma izlemek için kullanılır, bu saklı yordam yürütülür.

Konu bağlantısı simgesiTransact-sql sözdizimi kuralları

Sözdizimi

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

  • [ @ publisher =] '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

    İtmeabonelik

    1

    Çekmeabonelik

Sonuç Kümeleri

Sütun adı

Veri türü

Açıklama

pendingcmdcount

int

Bekleyen komut sayısını abonelik için.

estimatedprocesstime

int

Tüm bekleyen komutları için abone teslim etmek için gereken saniye sayısını tahmin.

Dönüş Kodu Değerleri

0 (başarılı) veya 1 (başarısız)

Açıklamalar

sp_replmonitorsubscriptionpendingcmds işlem ile kullanılan çoğaltma.

İzinler

Yalnızca üyeleri sysadmin sabit sunucu rolü Dağıtımcı veya üyeleri db_owner distribution veritabanında sabit veritabanı rolü olabilir yürütmek sp_replmonitorsubscriptionpendingcmds.Üyeleri yayın erişim listesi dağıtım kullanan yayın veritabanı yürütebilmesi için sp_replmonitorsubscriptionpendingcmds Bu yayın için komutları bekleyen dönmek için.