Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12554

Sql server how to shrink logfile

$
0
0

I am on sql server 2008 r2. A transaction log file is grown a lot. Transaction log backups are done only 4 hours so information in log file should have been deleted. When I tried to shrink logfile using

dbcc shrinkfile(mydb_log, 32000)

It is not shirnking, size of log file remains same, why?

How can I shrink the log file?


Viewing all articles
Browse latest Browse all 12554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>