Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Select fileid,groupid,size,maxsize,growth,name,filename from dbo.sysfiles ----------------------------------------------fileid groupid size maxsize growth name filename1 1 1966080 6236160 64000 DB_VIEWS Data.MDF2 0 655360 1310720 131072 DB_VIEWS Log.LDFSp_Spaceused:----------------------database_name database_size unallocated spaceDB_VIEWS 20480.00 MB 1901.50 MBreserved data index_size unused13781504 KB 9183168 KB 4593976 KB 4360 KBI dont know how to corelate these two information sourcesI just want to know what is the size of my database ,how much has been occupied and how much free space is still availableOnly thing I have been able to correlate so far isdata + index_size + unused = reserved (This is onlt from Sp_Spaceused)