Re: Regarding Transaction Log
From: Tibor Karaszi (tibor_please.no.email_karaszi_at_hotmail.nomail.com)
Date: 06/14/04
- Next message: Tibor Karaszi: "Re: Rename database"
- Previous message: Uri Dimant: "Re: Regarding Transaction Log"
- In reply to: Madan Nayak: "Regarding Transaction Log"
- Next in thread: Madan Nayak: "Re: Regarding Transaction Log"
- Reply: Madan Nayak: "Re: Regarding Transaction Log"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 14 Jun 2004 08:44:20 +0200
All modifications are logged in the transaction log. If you are running the database in full recovery model,
the log is truncated (emptied) when you backup the log. If you run the database in simple recovery model, the
log is emptied regularly and automatically. So, log file size is connected to recovery mode.
Also, the log has to be able to encompass your largest transaction (as the log cannot be truncated past the
oldest open transaction).
There's bunch of more info in Books Online, especially in backup section and section about recovery model. If
you are looking for shrinking the log file, I have some URL's in below article:
http://www.karaszi.com/SQLServer/info_dont_shrink.asp
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ "Madan Nayak" <madan@ubicsindia.com> wrote in message news:%23V8MtkdUEHA.556@tk2msftngp13.phx.gbl... > Hello > > I havea Sql Server 2000 Database of size 12 GB, where as my datafile is only > of 2 GB but the Log file is 10 Gb. I can not figure out what are the causes > and remedy of Transaction Log Growing Dramatically . I have found an > article on Microsoft support (reg 1105 sql error). But of not much help. > > My application is a .Net web application using ADO.Net and MS Sql Server > 2000. > > It is a long out staning problem of mine. > I donot find any concrete solution regarding this problem. > > Can any body pl. help. > > Thanks > Madan > >
- Next message: Tibor Karaszi: "Re: Rename database"
- Previous message: Uri Dimant: "Re: Regarding Transaction Log"
- In reply to: Madan Nayak: "Regarding Transaction Log"
- Next in thread: Madan Nayak: "Re: Regarding Transaction Log"
- Reply: Madan Nayak: "Re: Regarding Transaction Log"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|