Solved

SQL Transaction Log started growing a couple days ago

Posted on 2015-01-09
5
282 Views
Last Modified: 2015-01-09
SQL 2008 R2 single instance, hosting one database

This week I was performing an analysis of our server to make sure SQL is configured in an appropriate manner.  Using this question to guide me.

Since I started my analysis, our transaction logs have grown from 700 MB to 90 GB.  I wasn't making changes that I'm aware of.  I ran the Best Practice Analyzer and a few select statements.

What could cause my transaction logs to grow?  How do I get them back to a manageable size?
0
Comment
Question by:bmsande
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 19

Expert Comment

by:strivoli
ID: 40540386
Transaction Logs grow as you use SQL. You can shrink running backups and shrink jobs.
0
 
LVL 50

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40540453
BPA runs a lot of tests and for some of them it will need to create and drop objects and that's why the transaction log grows. As said above you need to perform a transaction log backup and then shrink the transaction log file.
0
 

Author Comment

by:bmsande
ID: 40540456
This system has been alive for years.  We've never seen our transaction logs grow beyond 2 gig.

Since Monday, (5 days ago), our transaction log is 90 gig and rising.  

Something changed, that's what I need to figure out.  Then I need to fix it.
0
 

Author Comment

by:bmsande
ID: 40540458
Good to know about BPA @Victor.  Thanks.  I'll research your suggestion as it sounds like the likely reason and best fix.
0
 
LVL 50

Expert Comment

by:Vitor Montalvão
ID: 40540462
Since I started my analysis, our transaction logs have grown from 700 MB to 90 GB.  I wasn't making changes that I'm aware of.  I ran the Best Practice Analyzer and a few select statements.
I think you already figured it out :)
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

729 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question