Re: Log won't Truncate when Publication is created
- From: "Hilary Cotter" <hilary.cotter@xxxxxxxxx>
- Date: Tue, 13 Feb 2007 14:53:18 -0500
The log reader is not replicating all the transactions. The log is
"truncated" at the last replication point - or where transactions are read
out of the transaction log and marked as replicated.
Are you certain you are using snapshot replication? Normally you get this
with transactional replication.
I would also use transactional replication as it means (in most situations)
that less data is going across the wire.
--
Hilary Cotter
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
"Bodhicitta" <Bodhicitta@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:3923DF8C-3BC1-4D25-A7C5-03CA22DCC106@xxxxxxxxxxxxxxxx
We are having an issue whereby the log file on a database will not
truncate
once a snapshot publication is created for the database.
-The database is set to the Simple Recovery Model.
-Data in the database is updated/refreshed every 3 hours via a series of
stored procedures which complete in about 25 minutes.
- As soon as a snapshot publication and push subscription are created,
with
each pass of the stored procedures (every 3 hours) which update the
database,
the active portion of the log grows, eventually causing the log file to
autogrow, and eventually we run out of disk space.
- The publication is scheduled to create a snapshot once per day, and the
subscriber is scheduled to synchronize with the snapshot thereafter.
-The database is fully backed up once per day, about an hour after the
snapshot is created.
-The stored procedures are not running while either the snapshot or backup
are in progress. When no publications are present, the log file stays
small
due to the Simple Recovery Model.
-The log truncates as soon as I delete the publication.
What is causing the log to grow like this? Thanks.
.
- Follow-Ups:
- Re: Log won't Truncate when Publication is created
- From: Bodhicitta
- Re: Log won't Truncate when Publication is created
- Prev by Date: Re: replicating SQL 2000 to SQL 2005 database
- Next by Date: Re: Configuring Distributor
- Previous by thread: Re: replicating SQL 2000 to SQL 2005 database
- Next by thread: Re: Log won't Truncate when Publication is created
- Index(es):
Relevant Pages
|
Loading