?
Solved

SQL Servers knowledge of local storage

Posted on 2014-10-29
2
Medium Priority
?
189 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
[X]
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
2 Comments
 
LVL 25

Expert Comment

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

Accepted Solution

by:
Lee Savidge earned 2000 total points
ID: 40410540
0

Featured Post

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
In this article, we’ll look at how to deploy ProxySQL.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Suggested Courses

770 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