Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Why doesn't my database size get smaller when I delete FileStream data?

$
0
0

I have a database with some FileStream data.  I don't need the FileStream data anymore and I want to delete it to reduce the size of my database.

(The way I'm measuring the size of my database is I'm looking at the .BAK file produced when I back up the database to a file).

I've deleted the records but this did not reduce the size of my .BAK files at all. 

I read something about garbage collection and tried to force this but couldn't figure out how.

Is that the problem?   Shouldn't garbage collection occur automatically?  It's been a month.
Does deleting the records containing filestream data really delete/reduce the files on disk containing this data?


Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>