Re: Trimming HUGE Transaction Log

Tech-Archive recommends: Speed Up your PC by fixing your registry



Are you doing regular transaction log backups? If not, set the database in simple recovery model and keep it there.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://sqlblog.com/blogs/tibor_karaszi


"Always OpenTo Suggestions" <AlwaysOpenToSuggestions@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:897A198B-D293-43A3-86A9-3FD18D9F5E62@xxxxxxxxxxxxxxxx
I've got an Access application with a SQL Server back end.
SQL Server db is about 4 gig. Transaction log is about 10 gig. It just
seems to keep growing. I' GUESSING Access never causes transactions to be
committed, so the log file never drops those transactions.

I tried something which SEEMS to work, but before I do this to production
files - I'd like a little expert advice.
-- I backed up the database
-- I changed the recovery model to SIMPLE,
-- I shurunk the log file to the minimum allowed (which was very small)
-- I changed the recovery model back to FULL.

If I do this after hours when everyone is gone, logging should begin before
users every get back into the office. Does this seem like a plan??
--
Thanx in advance!

Angelo

.



Relevant Pages

  • Re: Sharepoint and SQL Recovery Model
    ... SQL Server 2000 uses recovery models to help you plan backups. ... You can use either Simply or Full Recovery Model based on your need. ... be recovered to the point of the last backup. ... The SharePoint Portal Server 2003 configuration database. ...
    (microsoft.public.sharepoint.portalserver)
  • Re: Transaction log problems
    ... IF you have to shrink a database or file it ... sure that you get that database backup on tape or to another machine. ... > We are using SQL Server 2000 on Windows Server 2003 Standard Edition, ... > One of the databases has recently begun showing large growth of the> transaction log and it is causing us some problems. ...
    (microsoft.public.sqlserver.server)
  • Re: transaction log
    ... It seems your Recovery model set to that database is "FULL". ... So we need to scdule a transaction log backup regularly (atleast hourly ...
    (microsoft.public.sqlserver.server)
  • Re: Regarding Transaction Log
    ... All modifications are logged in the transaction log. ... If you are running the database in full recovery model, ... Tibor Karaszi, SQL Server MVP ...
    (microsoft.public.sqlserver.server)
  • Re: Checkpointing Not Happening in Simple Recovery Model
    ... You cannot set the recovery model in tempdb. ... Columnist, SQL Server Professional ... We would then have to issue an alter database ...
    (microsoft.public.sqlserver.server)