Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Other Technologies / Replication / November 2005

Tip: Looking for answers? Try searching our database.

Transactional replication with multiple publishers seems unreliable.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris McGuigan - 30 Nov 2005 16:46 GMT
We have a SQL2000 Publisher, and SQL2005 server doing Distribution and
Subscription. We're using transactional replication with push
subscription.

We've had this running reliably for 2 weeks with one publication with
21 articles. The database is a Great Plains DB for our UK office.

We created another publication on the same SQL2000 server but from a
different DB (the Great Plains DB for our US office). The tables from
both publications are going to the same target database but with UK_ or
US_ prefixing the destination tables.

As soon as the 2nd publication gets synchronised at the subscriber the
first one goes out of sync saying rows are missing at subscriber.
This in turn brings the 2005 server to its knees.

The table sources have the same name but they are writing to
destinations with different table names but it's as though the fact the
names are the same is causing a conflict somewhere in the process.

To clarify;
    Publisher    Distributor    Subscriber
    2000        2005            2005
    ---------    -----------    ----------
    MySvr        MyNewSvr        MyNewSvr

All tables going to ReplDB on MyNewSvr

Tables:
    UK.dbo.IV00101     replicated to     UK_IV00101
    US.dbo.IV00101     replicated to     US_IV00101

I should point out that all the replication was set up via the GUI.

Signature

Regards
Chris

Raymond Mak [MSFT] - 30 Nov 2005 17:20 GMT
Hi Chris,

I would guess that the names of some (or most likely all) of the custom
stored procedures for applying changes at the subscriber are the same among
the articles of the two publications that you have configured through the
GUI. To find out if this is indeed the case, you can compare the
ins_|upd_|del_cmd columns of sysarticles from the two publisher databases.
If they are the same, the custom procedures for the publication\subcription
that receives the snapshot last will overwrite the custom procedures for the
publications\subscriptions receiving the snapshot earlier. Consequently,
replicated changes intended for destination tables for the "older"
publications\subscriptions will be erroneously re-routed to the destination
tables of the "newly synchronized" publication\subscription, and this can
definitely lead the kind of consistency errors that you saw.

-Raymond

> We have a SQL2000 Publisher, and SQL2005 server doing Distribution and
> Subscription. We're using transactional replication with push
[quoted text clipped - 29 lines]
>
> I should point out that all the replication was set up via the GUI.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.