Solved

Non clustered index not passing through merge replication

Posted on 2011-09-14
5
796 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Trying to get a Linked Server to Oracle DB working 21 57
Help Required 2 29
SQL - Copy data from one database to another 6 19
Return 0 on SQL count 24 28
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
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.

813 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now