Same article in multiple publications

  • the best practice here is to not put an article in multiple pulbications. It's bad for performance. Breal it up into smaller publications if you have to and send multiple publications to the same subscribers, but don't do what you propose.


    My blog: SQL Soldier[/url]
    SQL Server Best Practices:
    SQL Server Best Practices
    Twitter: @SQLSoldier
    My book: Pro SQL Server 2008 Mirroring[/url]
    Microsoft Certified Master: SQL Server, Data Platform MVP
    Database Engineer at BlueMountain Capital Management[/url]

  • So for a bidirectional(but always inserted at the subscriber) article, across publications, even if it is guaranteed that a uniquely identified row exists at only one subscriber (other than the publisher of course), you think it still might cause performance bottleneck? This is a filtered article in both publications.

    As an example, let's say this is a 'UserLog' table. only subscribers log and not the publishers. There are two different publications, but only one 'UserLog' table, so we got to include it in both publications. We filter subscriptions by userid, so all datasets are disjoint wrt userid.

    Do you think this still is a performance bottleneck?

  • When it an article is in multiple publications, it is tracked separately for each one. So every update to the table will be tracked multiple times. This will cause there to be more records in the tracking tables. You are better off putting that table into a publication by itself and subscribing both subscriptions to it.


    My blog: SQL Soldier[/url]
    SQL Server Best Practices:
    SQL Server Best Practices
    Twitter: @SQLSoldier
    My book: Pro SQL Server 2008 Mirroring[/url]
    Microsoft Certified Master: SQL Server, Data Platform MVP
    Database Engineer at BlueMountain Capital Management[/url]

Viewing 3 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply