Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Rebuilding indexes in merge replication

Author  Topic 

ranvir_2k
Posting Yak Master

180 Posts

Posted - 2013-10-01 : 10:03:56
Hi all,

I'm planning on creating a Rebuild Index maintenance job on the publisher side of a merge replication setup.

Does this need to be done on the subscriber side as well or will the results of the reindexing be copied across to the publisher?

Also will rebuilding indexes break replication?

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2013-10-01 : 12:35:24
Replication only deals with data. It does not deal with reorgs or rebuilds. So you will need to run index maintenance on both the publisher and the subscriber.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2013-10-01 : 12:36:14
Rebuilding indexes will not break replication, however it can cause a ton of latency. You may want to consider only doing reorgs if you find that latency is a problem. Rebuilds versus reorgs rarely have an impact on performance. It's more of a storage thing.

Tara Kizer
SQL Server MVP since 2007
http://weblogs.sqlteam.com/tarad/
Go to Top of Page
   

- Advertisement -