Solved

Non clustered index not passing through merge replication

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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
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.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

707 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

19 Experts available now in Live!

Get 1:1 Help Now