Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 T-log huge

Author  Topic 

peera
Starting Member

11 Posts

Posted - 2003-11-05 : 13:44:38
hi,
.LDF is 2+gb and .MDF is 185mb we are populating this db for the first time, now i cant do any update to the db. thx for any help.
thx
peera

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2003-11-05 : 13:51:23
What recovery model is the database set to? If FULL, then are you performing transaction log backups? If not, then you'll need to or set it to SIMPLE.

To clear up the used space in the LDF, just run BACKUP LOG DBNameGoesHere WITH NO_LOG.

Then you can run DBCC SHRINKDATABASE and/or DBCC SHRINKFILE to shrink the size of the file.

Tara
Go to Top of Page
   

- Advertisement -