Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Distribution agent stops when SubscriptionStream value changed from defalut

$
0
0

I have Transactional replication. Every time I tried to use more than one stream we get errors. Distribution Agent stops and doesn't run unless we restart distribution agent. I am using SubscriptionStream value 8.I have tried to use different value but same outcome.Default value which is 1 is fine with no errors.

Seems like if one thread gets blocked , all other thread fails which is expected. but after distribution agent doesn't start. I have found article for SQL 2005 and looks like there is hotfix to resolve this issue in SQL 2005.I couldn't find anything related to SQL 2008 R2.Any help would be really appreciated.

https://support.microsoft.com/en-us/kb/934188<o:p></o:p>

Error Message:

Command attempted:<o:p></o:p>

select spid, blocked, lastwaittype from sysprocesses where
'~76~~77~~78~~80~~82~~87~' like '%~' + cast (spid as nvarchar)+ '~%' 
              
and '~76~~77~~78~~80~~82~~87~' like '%~' + cast (blocked as nvarchar)+ '~%'
<o:p></o:p>

 Error messages:<o:p></o:p>

·         Invalid object name 'sysprocesses'. (Source: MSSQLServer, Error
number: 208)

Get help: http://help/208
<o:p></o:p>

·         Invalid object name 'sysprocesses'. (Source: MSSQLServer, Error
number: 208)

Get help: http://help/208
<o:p></o:p>

Parameter -  SubscriptionStreams , Value - 8

Replication - Transactional replication

Publisher - SQL Server 2008 R2 sp2 Enterprise

Distributor - SQL Server 2014 SP1 Standard

Subscriber - SQL Server 2008 R2 SP2 Enterprise


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>