Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to monitor disk space

Status
Not open for further replies.

andreis

Programmer
Apr 19, 2001
169
US
Hi, we kepp running out of space with our SQL Servers data an log files more often. What disk space monitoring software would be easy and reliable to alert us before databases run out of space? Is Big Brother good? Thanks.
 
Andreis,

1. What version of SQL are you running?
2. "Running out of space with our SQL Server Data and Log files". Is that the data space and log space allocated are filling up, or are they growing to actually fill the physical disk (i.e. D drive 1MB free)?
3. How do you resolve the issue currently if there is no space. Delete data or allocate more disk space?
4. Who's in charge of the capacity planning?

It is all well and good to monitor the situation and get a warning, but the root causes should be addressed to try to avoid reaching a critical point to start with.

Have a look at the above and we'll see from there.

Rgds,

M.
 
Hello, Mutley:
1. SQL Server 2005 and some SQL Server 2000.
2. Files actually fill physical disk.
3. dbcc shrinkdatabase works so far.
4. Capacity planning was an area of responsibility of sys admin before they hired a DBA (me).
Thanks.
 
If the shrink works OK then it sounds like the data / log files are growing due to input then data is cleared out (allowing you to shrink) as they will not return unused allocated space automatically. I'm going to hazard a guess, but it's probably the log file that chews up the disk space?

Is the database in full recovery mode and are the tran logs being backed up frequently enough (to clear out written data?)
 
How can you tell if you are running out of space in the log? I believe I am having similar issues.
 
We have two dozen SQL Servers with around a hundred databases, so all cases are different. More often it's log file (backed up every hour), but in several cases it's data files that grew, possble, after optimization job of reindexing. One can tell that the space is eaten up because database freezes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top