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

sql server replication

group:

tranactional replication after re-indexing



tranactional replication after re-indexing Methodology
8/10/2006 6:01:02 AM
sql server replication: Hi

I need to setup replication from one DB to another. Primary DB is 150GB.
Every Saturday a full re-index is done on the DB which is obviously going to
create a HUGE transaction. As my replica server is geographically remote - ie
contactable over a WAN im thinking that there arent going to be enough hours
in the weekend to get this data over (i will only replicate during 12 hours
at night).

I havent set up a test lab for this yet though Im going to - I just wondered
if anybody had anything to say on the subject? Am I right that this problem
will totally stuff up my replication? Will a huge Transaction be created? If
I'm doomed doing things this way, what other method could I use?

Thanks in Advance

Alastair Jones
Re: tranactional replication after re-indexing Hilary Cotter
8/10/2006 11:36:41 AM
Are you sure you really need to reindex? Depending on your DML patters
sometimes you don't need to and residual defragmentation is the same as
before.

When you reinidex your tlog blows up and your log reader agent has to work
harder than before. You might want to bump its querytimeout value.

--
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: tranactional replication after re-indexing Paul Ibison
8/10/2006 2:21:45 PM
Alastair - reindexing won't touch your replication. If you want this also to
be done on the subscriber, then you can use sp_addscriptexec or a scheduled
job to reindex it separately.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com

Re: tranactional replication after re-indexing Michael Hotek
8/11/2006 4:15:09 PM
It has no effect on replication. Reindexing will affect log shipping since
it works with a transaction log. But, replication only sends insert,
update, and delete statements (DDL changes in 2005). So, reindexing a table
will not send anything through replication or impact it.

--
Mike Hotek
MHS Enterprises, Inc
http://www.mssqlserver.com


[quoted text, click to view]

AddThis Social Bookmark Button