shrinking logs: how much data will be reclaimed

This script will show you how much diskspace can be reclaimed by shrinking all the logfiles of userdatabases using a DBCC SHRINKFILE(2) command. Often the spacegain is much smaller then expected. SQL Shrinks logfiles the end of the file until it finds the active part of the logfile. (If the active part of the logfile […]

2005-03-21 (first published: )

413 reads

Blogs

Weekly reading #26

By

Good morning! It was a tough weekend as we supposed to be in Goteborg...

Delete an Azure DevOps Project

By

Not something you’ll do too often, but you might find yourself doing this if...

Ways to access data in ADLS Gen2

By

With data lakes becoming popular, and Azure Data Lake Store (ADLS) Gen2 being used...

Read the latest Blogs

Forums

Is Data the Future of the Vibrant Web?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Is Data the Future of...

“Included columns” for non-clustered indexes explained

By Michael Salzmann

Comments posted to this topic are about the item “Included columns” for non-clustered indexes...

Reindexing a database

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Reindexing a database

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers