Solved

SQL2008R2:Log LDF file growth

Posted on 2014-10-14
4
217 Views
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?
thx

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

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

0
 

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
10-14-2014-9-03-01-AM.png
10-14-2014-9-04-07-AM.png
0
 
LVL 69

Accepted Solution

by:
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.

ALTER DATABASE db_name
    MODIFY FILE ( NAME ='YourDB_log', FILEGROWTH = 400MB, MAXSIZE = UNLIMITED)
0
 

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 .
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

856 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