Re: Shrink Transaction Log
- From: "Aaron Bertrand [SQL Server MVP]" <ten.xoc@xxxxxxxxxxxxxx>
- Date: Fri, 29 May 2009 10:53:21 -0400
Are you in full recovery? If so, are you performing full *and* log backups
regularly? What is your backup / recovery strategy? If you don't have one
(or don't need one), switch to simple recovery until you do. This will at
least minimize the persistent usage of the log, and will allow it to manage
itself through checkpoints. If you are not backing up properly then full
recovery isn't doing anything for you except making your logs explode. The
database is only as robust as you want to make it. If you say you want to
be in full recovery then you better take advantage of it.
Please read this in full:
http://tr.im/StopShrinking
On 5/29/09 10:39 AM, in article ed9mStG4JHA.4272@xxxxxxxxxxxxxxxxxxxx, "GMC
-LSND" <gcoleman@xxxxxxxxxxxxxxxxxxx> wrote:
SQL 2008
Just started using the above database and after a week, no one could get
into the database. A quick call to the creater of the software told me the
transaction logs in SQL 2008 needed to be shrunk. He walked me through it
really quick, but I found myself in the same situation a few days later.
Another call, another instruction to "shrink database".
I started reading a little and found that there are several ways to do this
and several reasons why or why not you would want to do this. I have found
that the database is unusable unless I do this.
My question is, is there a way to automate this so I don't have to manually
shrink it every couple of days? There has to be a way to do it as a database
this robust shouldn't hold you down to shrinking it every couple a days.
Thanks
gmc
.
- Follow-Ups:
- Re: Shrink Transaction Log
- From: GMC -LSND
- Re: Shrink Transaction Log
- References:
- Shrink Transaction Log
- From: GMC -LSND
- Shrink Transaction Log
- Prev by Date: Shrink Transaction Log
- Next by Date: Re: Select Highest Value
- Previous by thread: Shrink Transaction Log
- Next by thread: Re: Shrink Transaction Log
- Index(es):
Relevant Pages
|