Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Sync Type-Replication Support Only Expand / Collapse
Author
Message
Posted Monday, September 17, 2012 9:40 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Yesterday @ 6:42 PM
Points: 414, Visits: 2,085
Hi,

I have setup replication with sync type-replication support only and it's working fine. If I need to reinitialize the subscriptions of any publication, do I need to completely drop the subscription and create it again with default settings? Any other way of doing it by retaining the existing settings?

Thanks,
Post #1360288
Posted Tuesday, September 18, 2012 5:04 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, August 18, 2014 3:04 AM
Points: 1,331, Visits: 15,269
muthyala_51 (9/17/2012)
Hi,

I have setup replication with sync type-replication support only and it's working fine. If I need to reinitialize the subscriptions of any publication, do I need to completely drop the subscription and create it again with default settings? Any other way of doing it by retaining the existing settings?

Thanks,


No. It carries on as normal.

"replication support only" assumes the tables and data already exists on the subscriber. IT still creates all of the supports stored procedures etc. Other than that everything operates exactly as default.
Post #1360683
Posted Tuesday, September 18, 2012 8:50 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Yesterday @ 6:42 PM
Points: 414, Visits: 2,085
I thought the same way. But when I tried to reinitialize,it asked to run the snapshot agent manually. But when I ran the snapshot agent it gives the following error............

[0 %] A snapshot was not generated because no subscriptions needed initialization.
Post #1360842
Posted Tuesday, September 18, 2012 8:53 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, August 18, 2014 3:04 AM
Points: 1,331, Visits: 15,269
Running a snapshot is not reinitializing. The only time this will generate any sort of snapshot is if you add 1 or more new articles then a snapshot containing just those will be created.

You need to do this through replication monitor. I'm sure there's a TSQL way of doing it but I don't know it off hand as its such a dangerous thing.
Post #1360843
Posted Tuesday, September 18, 2012 2:19 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Yesterday @ 6:42 PM
Points: 414, Visits: 2,085
MysteryJimbo (9/18/2012)
Running a snapshot is not reinitializing. The only time this will generate any sort of snapshot is if you add 1 or more new articles then a snapshot containing just those will be created.


You are mistaken. We can reinitialize the subscription without adding any articles. If you want to add an article to the existing publication and generate a snapshot for just that article we can do it with the other way.

You need to do this through replication monitor.


Reinitializing can be done by many ways ...........one way of doing is by right clicking on the publication and selecting the option.

Post #1361019
Posted Wednesday, September 19, 2012 12:51 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, August 18, 2014 3:04 AM
Points: 1,331, Visits: 15,269
muthyala_51 (9/18/2012)
MysteryJimbo (9/18/2012)
Running a snapshot is not reinitializing. The only time this will generate any sort of snapshot is if you add 1 or more new articles then a snapshot containing just those will be created.


You are mistaken.




No Im not.



These are two very different things but I misread your initial message and thought you'd only ran a snapshot rather than marking the subscriber for reinitialisation.

Running a snapshot is not reinitializing



muthyala_51 (9/18/2012)

You need to do this through replication monitor.


Reinitializing can be done by many ways ...........one way of doing is by right clicking on the publication and selecting the option.



I know.


I'm sure there's a TSQL way of doing it but I don't know it off hand as its such a dangerous thing.


I'll setup a test publication and get back to you.
Post #1361156
Posted Wednesday, September 19, 2012 4:34 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Monday, August 18, 2014 3:04 AM
Points: 1,331, Visits: 15,269
muthyala_51 (9/17/2012)
Hi,

I have setup replication with sync type-replication support only and it's working fine. If I need to reinitialize the subscriptions of any publication, do I need to completely drop the subscription and create it again with default settings? Any other way of doing it by retaining the existing settings?

Thanks,


Back to the original question. No you cannot reitialise a subscription using 'replication support only' or 'none'. At least thats what happened when I set up a couple of tests

You have to use automatic.

Which in a way makes sense, you wanted create the subscription without initialising so you are prevented to do so in the future.

What settings do you want to keep?
Post #1361247
Posted Wednesday, September 19, 2012 8:54 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Yesterday @ 6:42 PM
Points: 414, Visits: 2,085
Thanks J.

Now we are on the same page. What I was thinking is, if replication is out of sync for some reason if we need to reinitialize what can we do if we use sync type-replication support only. Do we need to drop the existing subscription and create a new one with automatic or any other way around???
Post #1361411
Posted Wednesday, September 19, 2012 12:26 PM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Yesterday @ 6:42 PM
Points: 414, Visits: 2,085
I think this explains it all.........

http://social.msdn.microsoft.com/Forums/en/sqlreplication/thread/ee1f7a0a-6363-4a39-8c76-02272e3289dc
Post #1361558
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse