SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Sync Type-Replication Support Only


Sync Type-Replication Support Only

Author
Message
muth_51
muth_51
SSC Eights!
SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)

Group: General Forum Members
Points: 933 Visits: 2905
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,
MysteryJimbo
MysteryJimbo
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2195 Visits: 15344
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.
muth_51
muth_51
SSC Eights!
SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)

Group: General Forum Members
Points: 933 Visits: 2905
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.
MysteryJimbo
MysteryJimbo
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2195 Visits: 15344
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.
muth_51
muth_51
SSC Eights!
SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)

Group: General Forum Members
Points: 933 Visits: 2905
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.
MysteryJimbo
MysteryJimbo
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2195 Visits: 15344
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.
MysteryJimbo
MysteryJimbo
SSCrazy
SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)SSCrazy (2.2K reputation)

Group: General Forum Members
Points: 2195 Visits: 15344
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?
muth_51
muth_51
SSC Eights!
SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)

Group: General Forum Members
Points: 933 Visits: 2905
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???
muth_51
muth_51
SSC Eights!
SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)SSC Eights! (933 reputation)

Group: General Forum Members
Points: 933 Visits: 2905
I think this explains it all.........

http://social.msdn.microsoft.com/Forums/en/sqlreplication/thread/ee1f7a0a-6363-4a39-8c76-02272e3289dc
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search