Re: Log won't Truncate when Publication is created
- From: Bodhicitta <Bodhicitta@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 13 Feb 2007 12:14:02 -0800
I am certain that I am using Snapshot replication. In fact I have been
testing this, trying to figure out what is going on for days, deleting and
recreating the snapshot publication. We are using snapshot since the
database is almost completely rebuilt with each update, and the updates
happen infrequently. The snapshot is used to update a development database
that only needs refreshing once per day. I had this same problem with
another database, which was configured the same, but a reinitialization fixed
the problem. In this case, the only thing that frees up the growing active
log space is to delete the publication.
"Hilary Cotter" wrote:
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: Hilary Cotter
- Re: Log won't Truncate when Publication is created
- References:
- Re: Log won't Truncate when Publication is created
- From: Hilary Cotter
- Re: Log won't Truncate when Publication is created
- Prev by Date: Re: Configuring Distributor
- Next by Date: Re: Log won't Truncate when Publication is created
- Previous by thread: Re: Log won't Truncate when Publication is created
- Next by thread: Re: Log won't Truncate when Publication is created
- Index(es):
Relevant Pages
|
Loading