Hi,I'm querying sys.master_files to get the size of my data files and indexes for a particular database:SELECT a.[name], a.physical_name, sum((a.size * 8.0) / 1024) AS SizeInMBFROM sys.master_files aGROUP BY a.[name], a.physical_nameORDER BY a.[name]The query reports the mdf as 7,213 MB (7 GB) and the ndf as 52,023 MB (52 GB). At the file system level, they are 7,386 MB and 53,272, respectively.Two questions:1) I know the values are close between the query results and the actual file system, but is there a good explanation for why they're still somewhat different?2) Is it surprising that the ndf file is over 7x larger than the data file?Thanks,Mike
↧