Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

SQL 2008 - Huge, But Empty MDF File

$
0
0

I have a database that imports records, 'fixes', then sends the records to a differnet server/db. I remove the imported records and wait to do the same the next day. 50-20k records per day.

My mdf file has now grown to 257gb, yet there are no records in the database ! I've tried shrinking the DB but after 14, 16 and 20 hours, it never finishes.

I reindexed my tables. No change. I noticed that dbo.MESSAGE's indxes, the UQ_MESSAGE_xxxxxx index in particular, is 99.2276.... fragmented.

What is going on here and how can I fix it ? I should be able to create a DB with 10gb limit and not worry about drive space, ever.

Thanks for any pointers.


Viewing all articles
Browse latest Browse all 15889

Trending Articles



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