Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA General
  • AVEVA General Tech Notes

TN WW177 Reclaim Free SQL Log Space

Last updated: March 23rd, 2026

Description

  • Author: Brian Schneider
  • Published: March 23rd, 2026

Details:

Description

This article from InSource shows how to run a SQL script (attached) to reduce the disk space occupied by each database log file in the instance of SQL. Make sure you have valid backups of all databases before making any changes to MSSQL.

  • Author: Lewis Talley
  • Published: 3/31/2017
  • Applies to: MSSQL (various)

Details

Step 1:

Use SQL below to return the space occupied by each SQL log file in the system. My demo system results were dumped to an excel file so I could compare before and after. My demo image was using 8.5GB before!

DBCC SQLPERF(logspace)

reclaim free up
Give feedback about this article

Recommended articles

TN 1026 wwClient Unable to Load Connections

Read More

TN 1438 How to check if a Hotfix is installed

Read More

How to ping and get a ipv4 address returned instead of ipv6

Read More

OPC Quality and Quality Detail Codes

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2026 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand