Master Database role in replication
While restoring databases, it mentioned that msdb and master database backups must be in sync in each on publisher/dist/subscriber...Please what the role of master database in replication.Here msdb is...
View ArticleWhy foreign key not for replication is_not_trusted
Hi,Why when I define FK not for replication" is_not_trusted=1? even the table is not replicated at all.What is the sense in it?here is a script to illustrate it :CREATE TABLE Persons (P_Id int NOT...
View ArticleReplication Error while creating subscription using backup
I am trying to set-up replication on SQL 2008 R2 database, copied and restored the database on subsrciber on same version, but when creating the subscription gettin this error below, any clues?Msg...
View ArticleVery slow replication
I have a replication with pull subscription. over the wan.At times it is ok (Not briliant) but sometimes it gets realy slow.For example today, we reached 2 commands per minute!!!!at the same time we...
View ArticleIs SQL Push Replication having row level filters?
Publisher:-SQL server 2012 Subscriber: - SQL Server 2008 R2 SP2Push replicationSome tables inside publication have row level filters defined.Now whenever we want to change filter criteria for any table...
View ArticleNot retaining Identity in SQL Server Merge Replication
Hi,I have implemented Merge Replication in SQL Server, but here I am getting one problem-After implementing replication it is not retaining next identity for identity column.Example- Publisher Table-...
View ArticlePublishing stored procedures
We're setting up transactional replication so we have a copy of our OLTP database that we can use mostly for running reports.I see that we can publish stored procedures as well as tables. I have two...
View ArticleTransactional replication - merge command performance
Hello,I'm trying to find a solution to one performance issue with replication that I'm facing at the moment, so I'm hoping someone here could help.I have one publisher database with 3 subscribers, and...
View Articlewhat does a delicated distributor server use RAM for?
We are setting up a push transaction replication with a dedicated distributor server in 2008 R2 enterprise and wondering how the distributor is using the RAM. What are the deciding factors to decide...
View ArticleAgent message code 21100:replication job was running fine till yesterday...
Our replication job was getting failed with below error. To resolve this issue I have granted write permission to agent account on COM folder. Now job is running fine.Error:Agent message code 21100....
View Articlealter published stored proc in sql server
Hi, Have published a database and many subscribers are connected to it. Now I want to alter one of the stored procedure. I dont want to re-publish the db again. I read in some forum that article for...
View ArticleClear undistributed commands
Hello All,<o:p></o:p>To fix data discrepancy in transactional replication, I have to clear up all the undistributed transactions and then run RedGate data compare tool to manually...
View ArticleArticle with a filter: Instead of updating, it is deleting rows at subscriber
EXEC sp_addarticle @publication = N'Sales_db__TranRepl', @article = N'DummyTable' , @source_owner = N'dbo', @source_object = N'DummyTable', @type = N'logbased', @description = N'' , @creation_script =...
View Articlecan't add new column to table in replication
I have a merge replication running and when I try to alter table with this commancd:alter table mytable add cTestColumn nvarchar(10)getting this error: Msg 21531, Level 16, State 1, Procedure...
View Articlereplication settings for a table that has high insert rate
We have set up a push publication for a single large article which has high insert rate. We are in SQL 2008 enterprise. This table has over billion rows and has an insert rate of 6,000 to 9,000 per...
View ArticleSQL Server 2012 as Subscriber to SQL Server 2008 R2 Snapshot
While this is certainly not the situation I would recommend or prefer, I have a situation that I may have to TEMPORARILY have an newer SQL Server running 2012 be a Subscriber for an SQL Server 2008...
View ArticleSnapshot Replication fails - ALTER TABLE statement conflicted with the...
Hi Everyone,i have a strange problem when using Snapshot Replication on a Microsoft SQL Server 2012 - 11.0.2100.60 (X64) Standard Edition on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)I...
View Articlemergreplication does not longer work
We have a mergereplication between different site W2008 Server and SQL Server 2008 R2. The replication stopped wit the following error Can not find the save procedure 'dbo.sp_MScheckIsPubOfSub'In...
View ArticleErrors in Replication
Hi,we are facing 'out of syncs' in our Replication (transactional with updateable Subscribers)I checked MSrepl_errors and did a join to MSREPL_Commands over command ID - hope this is a valid one. In...
View Article