O'Reilly logo

Microsoft SQL Server 2012 Performance Tuning Cookbook by Bihag Thaker, Ritesh Shah

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Monitoring log space usage statistics with DBCC command

Every database has a transaction log associated with it. A transaction log records every DML activity that can be used by SQL Server to recover a database. If the recovery model of the database is full and the frequency of DML operations is very high on the database, this transaction log file can grow very quickly. Even if the recovery model is simple and the database is published for transactional or merge replication; this can cause the log to blow up as well. If the transaction log is not backed up regularly and the transaction file has been allowed to grow unlimitedly, then it can even occupy all your hard disk space and turn your databases down, which prevents all DML operations from ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required