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 2008 Forums
 SQL Server Administration (2008)
 Shrink log file not working

Author  Topic 

imughal
Posting Yak Master

192 Posts

Posted - 2012-01-27 : 05:43:43
Hi,

i have SQL Server 2008 DB. usually was not performing log backup. now log size is grow to 60 GB and eating drive space. in order to gain space need to shrink log file.

for that i took log full back.

truncate_only is not supported at SQL Server 2008. so i shrink file using management studio interface when i select log file and click to shrink screen close quickly without giving any error or message. and files does not shrink and its size is still same.

please tell how to shrink file and get drive space back. thx.

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2012-01-27 : 05:57:23
First I would change the recovery model of that database to simple because you obviously don't need the logs...?


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

GilaMonster
Master Smack Fu Yak Hacker

4507 Posts

Posted - 2012-01-27 : 06:31:10
Please read through this - [url]http://www.sqlservercentral.com/articles/64582/[/url]

--
Gail Shaw
SQL Server MVP
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2012-01-27 : 08:42:29
Continuation of: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=170656

" files does not shrink and its size is still same. "

Did you WAIT as suggested in the other thread you posted?
Go to Top of Page
   

- Advertisement -