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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Administration (2000)
 How to release disk space when database exists big unused space

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 MB

reserved data index_size unused
21764560 KB 8883656 KB 7330680 KB 5550224 KB



Thanks and Regards"

Andraax
Aged Yak Warrior

790 Posts

Posted - 2003-04-17 : 08:30:59
Try running DBCC SHRINKDATABASE (dbname)

Go to Top of Page

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
Go to Top of Page
   

- Advertisement -