Edventures in Normalcy

If you are trying to calculate total disk space in use by all databases within a given MSSQL instance, you can use the following script to determine this space.

It has been said that “Sys.Master_filesĀ is a server-wide view that lists every file in every DB. It’s available from SQL Server 2005 onward.”

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright © 2026 Edventures in Normalcy. All rights reserved.