You need to expand the files in the filegroup or you need to add new files to the filegroup that are on disks that have more space.
answered Sep 10 '10 at 06:40 AM
Grant Fritchey ♦♦
if the data files are running out of space you need to make sure that they can grow further to accept more data (manually extending them at a time of low system usage is better than just letting autogrowth take care of this).
Another possibility is to add a new data file to the file group, but you still need disk space for this to work (just like expanding your existing data files).
There is also the option of deleting unneeded data from your database to free up space in the data file(s), that would be the cheapest option, but maybe not a viable one.
Also try looking at index usage too, you may have a huge pile of indexes that are taking up space that are never used. This query would give you an idea of indexes that are not used much/at all and wouuld be candidates for being dropped:
Anythign with a low read per write ratio is a candidate, but beware that these statistics are reset to zzero when the sQL Server is restarted so the readings could be misleading. Analyse the output of this query and think about the data before doing anything.
answered Sep 10 '10 at 06:46 AM
Just another thing to look at, if you have indexes in the file group that are heavily fragmented, then you can end up with huge amounts of wasted space. I have seen indexes taking up 2GB, that, when re-indexed, shrank to 40MB.
answered Sep 12 '10 at 11:23 AM
Matt Whitfield ♦♦