SQL2008R2:Log LDF file growth

Posted on 2014-10-14
Last Modified: 2014-10-14
Hello Team,
Currently my scheduled task(s) failing due to the "out of space" error on the log side.
Have modified the log file in management studio as well as using TSQL in below
and still gets reset back to 2GB max and restricted.  The available space on this drive letter is 100 GB.
What could be possibly going on to limit this way?

alter database YourDB
modify file (name='YourDB_log', size=100MB, filegrowth=10%, maxsize=unlimited)
Question by:John Esraelo
  • 2
LVL 46

Expert Comment

by:Vitor Montalvão
ID: 40380283
Can you post here the result of the following command?
sp_helpdb 'YourDBNameHere'

Open in new window


Author Comment

by:John Esraelo
ID: 40380299
Interesting results.
the db help result returns (green highlight) 2 TB but the management studio displays 2 GB
LVL 69

Accepted Solution

ScottPletcher earned 500 total points
ID: 40380350
I think they're actually the same value, 2TB: in SSMS, 2M MB = 2TB.

Btw, you want to use a fixed log growth, not a percent, and make sure your disk subsystem can handle that amount in a reasonable time.  1GB could take a while to pre-format depending on your specific disk.


Author Comment

by:John Esraelo
ID: 40380378
You are right and I feel so stupid.
All I paid mostly attention to was the "restricted" and not the value.

and I did that percent deal for ease of the question, so there won't be a confusion between the point that I was going to make and others.
Okay, I let this run and see what happens.
thank you again .

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now