dbTalk Databases Forums  

shrinking the log file size

microsoft.public.sqlserver.clustering microsoft.public.sqlserver.clustering


Discuss shrinking the log file size in the microsoft.public.sqlserver.clustering forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dean
 
Posts: n/a

Default shrinking the log file size - 12-12-2003 , 04:18 PM






I've noticed that dbcc shrinkdatabase does not shrink the
log file. How do we shrink the log file?

Thanks.

Reply With Quote
  #2  
Old   
Andrew J. Kelly
 
Posts: n/a

Default Re: shrinking the log file size - 12-13-2003 , 02:21 PM







http://www.support.microsoft.com/?id=317375 Log File Grows too big
http://www.support.microsoft.com/?id=110139 Log file filling up
http://www.mssqlserver.com/faq/logs-shrinklog.asp Shrink File
http://www.support.microsoft.com/?id=315512 Considerations for Autogrow
and AutoShrink
http://www.support.microsoft.com/?id=256650 INF: How to Shrink the SQL
Server 7.0 Tran Log
http://www.support.microsoft.com/?id=272318 INF: Shrinking Log in SQL
Server 2000 with DBCC SHRINKFILE


--

Andrew J. Kelly
SQL Server MVP


"Dean" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
I've noticed that dbcc shrinkdatabase does not shrink the
log file. How do we shrink the log file?

Thanks.



Reply With Quote
  #3  
Old   
 
Posts: n/a

Default shrinking the log file size - 12-15-2003 , 08:53 AM



Hi,

I also had that problem. I used succesfully used this to
shrink my log file to 100 MB.

BACKUP LOG ubb WITH TRUNCATE_ONLY
go
DBCC SHRINKFILE(dataname_log,100)

Good Luck,

Jeroen.


Quote:
-----Original Message-----
I've noticed that dbcc shrinkdatabase does not shrink the
log file. How do we shrink the log file?

Thanks.
.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.