Re: Truncate and Shrink
From: Keyboard (anonymous_at_discussions.microsoft.com)
Date: 05/25/04
- Next message: Zach: "Trying to connect when Builtin/Administrators account deleted..."
- Previous message: Hari: "Re: Restore Tlog on SQL 6.5"
- In reply to: Aaron Bertrand [MVP]: "Re: Truncate and Shrink"
- Next in thread: Hari: "Re: Truncate and Shrink"
- Reply: Hari: "Re: Truncate and Shrink"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 24 May 2004 20:59:53 -0700
Before I did I BACKUP LOG ... with Truncate_Only the I
checked DBCC OPENTRAN and it said "No active
transaction.."
The Recovery model is set to as "Full". Full Backup is
scheduled every morning. Transaction Backup is set after
every hour.
Keyboard
>-----Original Message-----
>Did you run DBCC OPENTRAN? It doesn't just grow on its
own for the heck of
>it; your system is doing something at some point that is
requiring
>additional log space. Is it possible you might consider
running in simple
>or bulk-logged recovery if you are not planning to use
the transaction log
>for full recovery model? That way, it doesn't just grow
and grow between
>backups. Also, you could consider letting profiler run
in the background
>and send an alert when you hit an autogrow event, then
you can catch the
>system red-handed, so to speak, and determine what is
causing the growth
>events.
>
>--
>Aaron Bertrand
>SQL Server MVP
>http://www.aspfaq.com/
>
>
>"Keyboard" <anonymous@discussions.microsoft.com> wrote
in message
>news:11b0a01c44206$54bc2570$a401280a@phx.gbl...
>> The size of the .ldf file was about 9 GB. The Log Space
>> used was 99%. Taking the full-database backup and after
>> BACKUP LOG ... with Truncate_Only the the Log Space
used
>> became 1%. We didn't shrink the size of the
transaction
>> log.
>>
>> After 15 days the size of .ldf became 11 GB and Log
Space
>> used was something above than 1%.
>>
>> Why is that when the space used is just about 1%, the
>> physical size of the .ldf increased in just 15 days.
>>
>> Keyboard..
>
>
>.
>
- Next message: Zach: "Trying to connect when Builtin/Administrators account deleted..."
- Previous message: Hari: "Re: Restore Tlog on SQL 6.5"
- In reply to: Aaron Bertrand [MVP]: "Re: Truncate and Shrink"
- Next in thread: Hari: "Re: Truncate and Shrink"
- Reply: Hari: "Re: Truncate and Shrink"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|