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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 General SQL Server Forums
 New to SQL Server Administration
 Rebuilding indexes in merge replication
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ranvir_2k
Posting Yak Master

United Kingdom
180 Posts

Posted - 10/01/2013 :  10:03:56  Show Profile  Reply with Quote
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

USA
38200 Posts

Posted - 10/01/2013 :  12:35:24  Show Profile  Visit tkizer's Homepage  Reply with Quote
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

USA
38200 Posts

Posted - 10/01/2013 :  12:36:14  Show Profile  Visit tkizer's Homepage  Reply with Quote
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
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000