all groups > sql server replication > september 2006 >
You're in the

sql server replication

group:

Snapshot Problem


Snapshot Problem Jude
9/28/2006 10:40:27 AM
sql server replication:
Sql Server 2000 to Sql Server 2000 Transactional Replication - On Same =
Domain
No Anonymous Subscribers
Nothing Fancy

Using Sql Query Analyzer (Got burnt by making the change at EM & having =
entire snapshot being invalidated once)

Script =3D Sp_droparticle - said I had to force invalidate snapshot

But after adding the article back & then starting the Snapshot agent, =
instead of seeing a snapshot for just that one article, I am seeing the =
entire snapshot being generated again.

Where have I gone wrong? Do I have something set incorrectly? I don't =
want a full snapshot to be generated every time I make a change. Any =
way to back door that & have only the one table marked to be snapshot?

--=20
Re: Snapshot Problem Hilary Cotter
9/29/2006 12:00:00 AM
Hi Jude

You did nothing wrong. What you perhaps could do is remove the contents of
the stored procedure from the article you wish to "drop". This way it will
effectively be dropped - in other words the commands won't be applied, but
changes will be tracked and the command constructed for it.

--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

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



[quoted text, click to view]
Sql Server 2000 to Sql Server 2000 Transactional Replication - On Same
Domain
No Anonymous Subscribers
Nothing Fancy

Using Sql Query Analyzer (Got burnt by making the change at EM & having
entire snapshot being invalidated once)

Script = Sp_droparticle - said I had to force invalidate snapshot

But after adding the article back & then starting the Snapshot agent,
instead of seeing a snapshot for just that one article, I am seeing the
entire snapshot being generated again.

Where have I gone wrong? Do I have something set incorrectly? I don't want
a full snapshot to be generated every time I make a change. Any way to back
door that & have only the one table marked to be snapshot?

--
JUDE

Still unclear......sorry Jude
9/29/2006 11:10:20 AM
How can I stop the entire snapshot from being generated now & only get that
one table snapshot?

When I started the Snapshot agent the entire snapshot was being generated
again & I stopped the agent.

By the way, when it says I have to "force invalidate snapshot" am I correct
in putting @Force_Invalidate = 1?

--
JUDE
[quoted text, click to view]

Re: Still unclear......sorry Hilary Cotter
9/29/2006 1:11:40 PM
I'm sorry I misread your post. Ok, so you have added another article back
in. IIRC if you do this through the wizard the entire snapshot will be
generated. If you do it through query analyzer only the added article will
be resnapshotted if you are using named subscriptions. If you are using
anonymous the entire publication will be resnapshotted.

The force_invalidate_snapshot option will bypass a warning message if the
change you are making to the publication will break the snapshot and require
a new one. If you set this to 0 the procs will raise an error message and
the proc will not do its task. If you set it to 1 no message will be raised
and the snapshot will be required.

--
Hilary Cotter
Director of Text Mining and Database Strategy
RelevantNOISE.Com - Dedicated to mining blogs for business intelligence.

This posting is my own and doesn't necessarily represent RelevantNoise's
positions, strategies or opinions.

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



[quoted text, click to view]

Re: Still unclear......sorry Jude
9/29/2006 5:28:55 PM
Thanx that makes it clearer, but in my old publication I could easily drop 1
article & then add it back without ever getting a message that I needed to
set @Force_Invalidate_Snapshot to 1, and now each time I drop/add back it is
telling me I need to do this. I can't seem to pinpoint why. It is a named
subscription.

--
JUDE
[quoted text, click to view]

Re: Still unclear......sorry Paul Ibison
10/2/2006 12:00:00 AM
Perhaps your publication allows anonymous subscribers? In this case the old
snapshot will be invalidated to future subscribers.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

AddThis Social Bookmark Button