Re: Log Shipping....
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Mon, 16 Apr 2007 17:34:42 -0400
Log files never shrink unless you issue a shrink command or have the
autoshrink option turned on. If you issue regualr log backups and don't have
long running open transactions the log file can reuse the parts of the log
that have been committed and backedup.
--
Andrew J. Kelly SQL MVP
"Rogers" <naissani@xxxxxxxxxxx> wrote in message
news:%23iOXzzCgHHA.5056@xxxxxxxxxxxxxxxxxxxxxxx
Just wondering, In log shipping environment, the log will auto shrink or
never shrink?
"Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx> wrote in message
news:upSAYxgfHHA.4704@xxxxxxxxxxxxxxxxxxxxxxx
I have no idea what environment you have. Is it the log backups that are
140GB in size of the transaction log itself? If it is the transaction log
file then you most likely have one of two conditions. Either you did not
start with a valid FULL backup or you have an open transaction that is
preventing the log from truncating. What does DBCC OPENTRAN() show for
that db?
--
Andrew J. Kelly SQL MVP
"Rogers" <naissani@xxxxxxxxxxx> wrote in message
news:%23XfwtzdfHHA.3648@xxxxxxxxxxxxxxxxxxxxxxx
There is a log shipping environment and I can't change any thing, if you
can let me know if change the intervel time from 15 to 20 mins, will
that helpful ?
Thanks
"Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx> wrote in message
news:OZPoY9SfHHA.4872@xxxxxxxxxxxxxxxxxxxxxxx
What are you doing? Are you backing up tot he same log file (device)
each time? If so stop that:). Backup to a different file each time by
adding a timestamp to the file name. Then the backups should be
relatively small and you can delete them after a specified time period.
--
Andrew J. Kelly SQL MVP
"Rogers" <naissani@xxxxxxxxxxx> wrote in message
news:%23nibvnRfHHA.1456@xxxxxxxxxxxxxxxxxxxxxxx
Log Shipping....
In my organization we had implemented Disaster Recovery (Log Shipping)
but Log File size is increasing gradually (140 GB) and Data File size
is 20 GB, I am just wondering log file size should be trancate once it
will ship to destination Server,
FYI, log ship every after 15 mins.
I would appreciate if any one can guide me how log could be shrink
automatically.
Thanks
.
- Follow-Ups:
- Re: Log Shipping....
- From: Rogers
- Re: Log Shipping....
- References:
- Log Shipping....
- From: Rogers
- Re: Log Shipping....
- From: Andrew J. Kelly
- Re: Log Shipping....
- From: Rogers
- Re: Log Shipping....
- From: Andrew J. Kelly
- Re: Log Shipping....
- From: Rogers
- Log Shipping....
- Prev by Date: Re: decimal data type serialized to binary
- Next by Date: Excel to SQL Server.
- Previous by thread: Re: Log Shipping....
- Next by thread: Re: Log Shipping....
- Index(es):
Relevant Pages
|
Loading