SQL Server Forums
Profile | Register | 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
 Merge Replication Subscriber
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

ahmeds08
Aged Yak Warrior

India
666 Posts

Posted - 03/08/2013 :  06:50:17  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
Dear Experts,
If I add a new index on my replicated database table i.e my subscriber database,will it replicate the same change on publication also??

James K
Flowing Fount of Yak Knowledge

3719 Posts

Posted - 03/08/2013 :  07:09:28  Show Profile  Reply with Quote
No, it will not happen automatically simply because the table is a replicated table.

From MSDN: How do I add or change indexes on publication and subscription databases?
Indexes can be added at the Publisher or Subscribers with no special considerations for replication (be aware that indexes can affect performance). CREATE INDEX and ALTER INDEX are not replicated, so if you add or change an index at, for example, the Publisher, you must make the same addition or change at the Subscriber if you want it reflected there.


http://technet.microsoft.com/en-us/library/ms151740.aspx

Edited by - James K on 03/08/2013 07:21:41
Go to Top of Page

ahmeds08
Aged Yak Warrior

India
666 Posts

Posted - 03/08/2013 :  07:15:34  Show Profile  Send ahmeds08 a Yahoo! Message  Reply with Quote
Excellent info James.
Thanks.
Go to Top of Page

James K
Flowing Fount of Yak Knowledge

3719 Posts

Posted - 03/08/2013 :  07:21:53  Show Profile  Reply with Quote
You are very welcome - glad to help.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New 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.08 seconds. Powered By: Snitz Forums 2000