Solved

SQL Servers knowledge of local storage

Posted on 2014-10-29
2
155 Views
Last Modified: 2014-10-29
Does SQL Server have any knowledge of the drive capacity / free space of the drives your SQL databases reside on? I.e. would it be possible to write a query for all SQL databases housed on drives with xyz free space, or xyz GB of free space? if for example you wanted to query all your SQL servers for those with DB on drives with less than 5% capacity free remaining space or 2 Gb free space?
0
Comment
Question by:pma111
  • 2
2 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 40410532
EXEC MASTER..xp_fixeddrives
0
 
LVL 25

Accepted Solution

by:
Lee Savidge earned 500 total points
ID: 40410540
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

CCModeler offers a way to enter basic information like entities, attributes and relationships and export them as yEd or erviz diagram. It also can import existing Access or SQL Server tables with relationships.
I have a large data set and a SSIS package. How can I load this file in multi threading?
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

920 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

18 Experts available now in Live!

Get 1:1 Help Now