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
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
LVL 50

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

Scott Pletcher 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

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

Suggested Solutions

Title # Comments Views Activity
SQL 'Fuzzy' (any part of string matches) match on passed text string in SPROC. 14 54
SQL Lag Function DateDiff 2 25
SQL Query 9 26
Sql server query 8 20
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

737 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