I have a SQL Server database that had a binary field that stored photos used in profiles and articles. We've moved this to the filesystem rather than storing them in the DB and now the database queries are faster. The size of the database didn't change (it's roughly 30GB). I think almost all of that space isn't needed anymore and the DB may be 10GB without the photos. Should I compact / shrink the db? I heard this isn't good to do but in this case, maybe it is. I won't be storing the photos in the DB going forward either so not sure if it will ever reach that size again.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.