Re: Drop replication question

Tech-Archive recommends: Speed Up your PC by fixing your registry



Many schema changes will be automatically replicated is the replicate_ddl
parameter is set to true for sp_addpublication and sp_addmergepublication.

There are some which you will have to do the drop subscriptions and drop
publications, for example changes to pk, adding defaults, identities, etc.

The problem with your approach is that there is add overhead and your
subscriber tables have to be recreated each time.

--
http://www.zetainteractive.com - Shift Happens!

Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html

Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"Ron" <Ron@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:A7ED2B66-F49D-4FD3-AD22-54CD8A54DAB9@xxxxxxxxxxxxxxxx
Using SQL2005 SP2 transactional replication. Whenever we have a deploy to
production that contains DDL, I drop the publication and then drop the
subscription on the replicated server. Once the update is complete, I
recreate the publication with any changes that are necessary and then
re-create the subscription, and then the snapshot agent runs. Is that
what
most people do?

This works fine, but I feel it is overkill. Is there a simpler way to
temporarily disable the replication until the DDL changes are made without
dropping and recreating the publication and subscription?

Is there any negative impact by my dropping and recreating the publication
and subscription.

Thanks

Ron


.



Relevant Pages

  • Re: Cannot Update Identity Column
    ... > Looking for a SQL Server replication book? ... The publication pushes a subscription to a database on the same ... The articles are setup to "Keep the existing table ...
    (microsoft.public.sqlserver.replication)
  • Re: Drop replication question
    ... would need to drop subscription and publication. ... failed due to replication being active. ... the time it takes to recreate the publication and subscription isn't an issue ...
    (microsoft.public.sqlserver.replication)
  • Re: General SQL Server 2005 transactional replication question
    ... "Hilary Cotter" wrote: ... Looking for a SQL Server replication book? ... publication part that requires the primary key constraints rather than the ... create the publication on the publisher and create the subscription, ...
    (microsoft.public.sqlserver.replication)
  • Re: Need help - desperate
    ... I executed the command and recreated the publication and subscription. ... Looking for a SQL Server replication book? ... that there were no jobs running with this database name. ...
    (microsoft.public.sqlserver.replication)
  • Re: Need help - desperate
    ... Then run your publication and subscription scripts and try again. ... Looking for a SQL Server replication book? ... that there were no jobs running with this database name. ...
    (microsoft.public.sqlserver.replication)