Re: SQL 2005 + MOSS 2007 + Size config LOG
- From: "Jeffrey Williams" <jeff.williams3188@xxxxxxxxxxx>
- Date: Tue, 14 Jul 2009 19:01:13 -0700
If you leave the database in full recovery model, then you will need to modify your maintenance plans to include another job that runs every hour (or more often) that backs up the transaction log. Once you have that job setup and running, you can run the shrinkfile and shrink the file. The file will grow again to handle the number of transactions you have between each transaction log backup.
Having just setup a sharepoint database system, I can agree with the previous post and say that you don't need full recovery model. Change the recovery model to simple - shrink the file to 10MB and don't worry about it.
BTW - I would eliminate the Backup Exec job that backs up the database. Use the native SQL Server backup to back the database up to a file and then use Backup Exec to backup those files.
Jeff
"Juergen N." <jn@xxxxxxxxxxxx> wrote in message news:eQ$8LTIBKHA.4168@xxxxxxxxxxxxxxxxxxxxxxx
Hi,.
thanks for the fast answer. Yes, I'm talking about the SharePoint_Config database (SharePoint_Config_log.LDF)
To reduce physical size can I use for example thi command or what are the recommended settings?
USE SharePoint_Config
GO
DBCC SHRINKFILE(SharePoint_Config_log, 1)
BACKUP LOG SharePoint_Config WITH TRUNCATE_ONLY
DBCC SHRINKFILE(SharePoint_Config_log, 1)
best regards,
Juergen N.
"Uri Dimant" <urid@xxxxxxxxxxx> schrieb im Newsbeitrag news:Omu9PMIBKHA.3556@xxxxxxxxxxxxxxxxxxxxxxxHi
Are you talking about SharePoint_Config database. Set it up to SIMPLE recoveru mode. Also in order to reduce physical size of the file use
DBCC SHRINKFILE command
"Juergen N." <jn@xxxxxxxxxxxx> wrote in message news:erEmtJIBKHA.4168@xxxxxxxxxxxxxxxxxxxxxxxHi,
we use SharePoint 2007 SP1 with SQL 2005 SP3. The databases at the moment are about 850MB,
but the config Log file is about 41GB !
For backup we use a scheduled task (Server Management Studio, full backup) and additionally Backup Exec 12.5
- when I select the config database - shrink file i see only 0,64MB free space of 41GB!?
- the recovery model is set tu Full
I have less experience with SQL so I'm not sure what's the best way to shrink or reduce the size
of the logfile.
any suggestions would be graitly appreciated,
best regards,
Jürgen N.
- Follow-Ups:
- Re: SQL 2005 + MOSS 2007 + Size config LOG
- From: Juergen N.
- Re: SQL 2005 + MOSS 2007 + Size config LOG
- References:
- SQL 2005 + MOSS 2007 + Size config LOG
- From: Juergen N.
- Re: SQL 2005 + MOSS 2007 + Size config LOG
- From: Uri Dimant
- Re: SQL 2005 + MOSS 2007 + Size config LOG
- From: Juergen N.
- SQL 2005 + MOSS 2007 + Size config LOG
- Prev by Date: Re: SQL Server 2005 - Using Indexes in Queries
- Next by Date: Re: 2008 SP1
- Previous by thread: Re: SQL 2005 + MOSS 2007 + Size config LOG
- Next by thread: Re: SQL 2005 + MOSS 2007 + Size config LOG
- Index(es):
Relevant Pages
|