Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Non clustered index not passing through merge replication

Posted on 2011-09-14
5
803 Views
Last Modified: 2012-05-12
Hi,

Trying to deploy a new non clustered index to a table which is published via merge replication. I have the table properties of the article set as copy nonclustered indexes = true, however regardless of where I deploy it (publisher or subscriber) it does not propgate to the other db.

I have tried a variety of deployments and re running snapshot agent but unless I reinitialise the index doesnt move on.

Any ideas?

Jay
0
Comment
Question by:slam69
  • 2
  • 2
5 Comments
 
LVL 4

Expert Comment

by:rbride
ID: 36535604
Does the publication have the "replicate schema changes" property set?
0
 
LVL 25

Author Comment

by:slam69
ID: 36535623
Apologies I should have put that in teh question but yes it does
0
 
LVL 15

Expert Comment

by:Anuj
ID: 36535821
Is that a filtered publication? Filtered publication needs re-initializing the subscription.
0
 
LVL 25

Author Comment

by:slam69
ID: 36535836
Nope direct merge no filtration... Keep em coming :)
0
 
LVL 15

Accepted Solution

by:
Anuj earned 500 total points
ID: 36535931
as per my knowledge Indexes do net get replicated in merge replication, Only at the time of initialization the indexes are copied to subscribers. You need to run this at each subscriber or try sp_addscriptexec  to create a index script file and run this at publisher.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question