Re: effect Replication has on transaction log
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Mon, 24 Apr 2006 10:50:11 -0400
Transactional replication has effects on the transaction log. Merge and
snapshot don't.
With transactional replication the vlf's will have their status set to 0 if
there are no active transactions recorded there, and there are no committed
transactions in there which have not been marked for replication. Otherwise
a backup of the transaction log with full recovery model will not affect the
status column and the vlf cannot be used again, or the transaction log
cannot be shrunk before this boundary.
So with merge, put your db in bulk load recovery model while the snapshot is
being applied, full after and dump at a frequency which maintains the size
of the log. With SQL 2005 log autogrows aren't the performance killer that
they were with SQL 2000.
--
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
"Will" <william_pegg@xxxxxxxxxxx> wrote in message
news:1145888281.366687.225950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi All,
Apologies if this seems silly, only I'm not so good on the transaction
log side of SQL.
I've got a subscriber set up with merge replication to a publisher (SQL
2000). When the database was set it up defaulted to full recovery model
(I hope to change this soon).
As far as I know, full recovery model means that transactions in the
transaction log are not marked as for deletion until the database is
backed up. Given it's just a subscriber there is no backup gob ever
being performed.
So I'm worrying that there's a subscriber out there with the
transaction log just growing and growing. However I would have thought
that this situation would be expected by SQL server, so I was wondering
if replication caused a similar effect on the subscribers transaction
log that a backup would?
Thanks
Will
.
- Follow-Ups:
- References:
- effect Replication has on transaction log
- From: Will
- effect Replication has on transaction log
- Prev by Date: Re: effect Replication has on transaction log
- Next by Date: Re: effect Replication has on transaction log
- Previous by thread: Re: effect Replication has on transaction log
- Next by thread: Re: effect Replication has on transaction log
- Index(es):
Relevant Pages
|