Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2003-04-17 : 07:49:12
|
| Dany writes "Below is my databse space info.Because my database store many duplicate rows,but it doesn't release disk space and decrease database size when I deleted many duplicate datas.Pls give some help how to release those big unused space and unallocated space.Though I set up auto shrinkage option about database,but it don't release disk space either.database_name database_size unallocated space dbContract 24581.94 MB 3327.48 MBreserved data index_size unused 21764560 KB 8883656 KB 7330680 KB 5550224 KBThanks and Regards" |
|
|
Andraax
Aged Yak Warrior
790 Posts |
Posted - 2003-04-17 : 08:30:59
|
| Try running DBCC SHRINKDATABASE (dbname) |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2003-04-17 : 15:04:26
|
| Also use DBCC SHRINKFILE to shrink the actual file on disk. See BOL for the syntax.Tara |
 |
|
|
|
|
|