MS SQL Transaction Logs full

MS SQL Transaction Logs full

MS SQL defaults to only truncating the transaction logs once the database and transaction log have been properly backed up. At that point the server will clean truncate and compact the log files. 

Obviously, this requires having a backup system in place to backup the SQL databases and trigger that truncation. 

If you don't have a backup system in place or it is not backing up, or not properly triggering the truncation process, you can backup/truncate the database by hand using the SQL Server Management Studio. 

Backup the Database: 

Backup the Transaction Log: 

Shrink the Database: 

If you run into issues with the transaction log still not truncate, you can use an SQL command to truncate it: 
BACKUP LOG <database_name> WITH TRUNCATE_ONLY; 

However, MS removed the TRUNCATE_ONLY parameter from Server 2008. In that case, you can use this statement that backs up the database to null, and triggers the truncation: 
BACKUP LOG <database_name> TO DISK='NUL:';

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Lenovo Unified Workspace End-of-Life Questions and Answers

        Will the shutdown of LUW servers and access to downloads affect my server licensing? No, the shutdown of the customer servers and access to the product and licensing downloads will not affect your server licensing. This license is downloaded and ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • LanSchool Documentation Guides

        LanSchool Classic Teacher Console The LanSchool Teacher Console is the interface teachers will use to manage their classroom and students. It contains all the tools necessary for a teacher to effectively interact with students and create a ...
      • Lenovo Unified Workspace 7.0.1.41 Released

        Highlights of Unified Workspace 7.0.1.41 Before you install: Please view the installation notes here. 7.0.1.41 requires a 7.0 license file. Below is a list of enhancements and fixes for Unified Workspace 7.0.1.41 Updated Log4j Updated Java Updated ...
      • Related Articles

      • Move database logging to SQL server.

        Changing / migrating the Logging Database from HSQL to MySQL , MSSQL. By default, the Stoneware Relay logs all transactions to a Java database called HyperSonic SQL. This database is installed as part of the portal installation and automatically ...
      • Configuring MS SharePoint through webNetwork

        SharePoint will work through webNetwork, but there are a few issues.  SharePoint really is designed for a full MS environment, if you are not using IE, you may lose some functionality.  There are a few Microsoft URLs that should be referenced.  ...
      • What does webNetwork send to the SQL server to purge logging data each night?

        Each night at midnight the loader sends a SQL command to the SQL server to purge old log information.  That command is as follows : DELETE FROM LogTable WHERE LogTime < 'some date'; 'some date' is formatted like this: yyyy-MM-dd HH:mm:ss If your ...
      • Full screen Web Client

        How do I get the Microsoft ActiveX RDP client to go full screen? Add the parameters FullScreen = True  **Requires the webapp's link to be set to open with "Native Window Override".
      • General MS AD LDAP information.

        General MS AD LDAP information