Quantcast
Viewing all articles
Browse latest Browse all 4054

Transaction replication - Indexes and constraints

Dear all,


We have a master database which is been set for transaction replication having publisher at the server1(SQL Server 2012) and through pull subscription there are 8 other servers

we have a setup of transactional replication in server1 as publisher through pull subscription 8 different servers pulling the data from server 1.

In server 1 there are no indexes/constraints are available. The 8 other servers are filling the data are used for different business units, which requires indexes and constraints to be created differently in each server.

Our idea is, to create whatever the common indexes across all 8 servers will create in server1. So that the indexes will be in place when the replication happens on the destination servers.

Only respective server indexes, will be created on the individual servers.

If incase, we need to reinitialize the subscription all the indexes created on the destination will be washed out and only the server1's indexes will remain.

So to create a repository for each server and the respective indexes as a script, if any crash we will re-apply against the server.

Is the above plan an optimal one? or anyother better solution for this.

Thanks.


Viewing all articles
Browse latest Browse all 4054

Trending Articles