I've got a database which is 260 GB in size. Since I know the application behind the DB, I know the DB should never be that big. Even more, one night I noticed that the DB has increased 30 GB where no obviously activity in the application happened.
The database has multiple tables, but only one of them has the big size of ~260 GB (checked trough Object Explorer Details and by various TSQL-queries). So I know the table for sure, but not the reason of the size of it. It's actual not possible the data inside it needs the storage, because the table has only 120'000 rows and only 17 columns. Non of the columns are LOBs, there are only datatypes of uniqueidentifier, int, varchar, nvarchar and datetime. Even when I take the max of 8 KB for a row and multiplicate it by 120'000 rows, the database should be smaler than 1 GB.
I already raised suspiction the index or the statistic could be that big as some queries a had run results a Index-size of 220 GB. Other queries on the other hand results a small index.
However, meanwhile I've dropped that Index (moreover, the Primary Key behind it) and also dropped the statistics. There is no index at all at moment (I will recreate the PK_Index after the size issue is solved). I tried to shrink the database several times, but I doesn't work. The size remains 260 GB. Yesterday I run the sp_clean_db_file_free_space which took 6 hours (!) but also doesen't decrease the database file. At moment I run the sp_clean_db_free_space SP, but I don't believe this will help me.
So my questions are:
* How to find out why the database is that big?
* How to decrease it?
Has somebody an idea? Thanks...