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)
 Shrink Database

Author  Topic 

askcomputer
Starting Member

12 Posts

Posted - 2006-09-18 : 23:18:38
Hi

I have 75 gb database I delete some tables then after i try to shrink using sql script dbcc shrinkdatabase (xxx,10) and dbcc shrinkfile (xxx,7) but database can't reduced size. script still runing. i check database properties there show 49 gb fress space avialable.

How remove allocated space.

Regards
Santosh

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-09-19 : 05:33:40
What if you wait with using second DBCC commands until first DBCC command is executed properly?


Peter Larsson
Helsingborg, Sweden
Go to Top of Page

EugeneZ
Starting Member

26 Posts

Posted - 2006-09-19 : 18:32:44
shrink in small parts (start 1mb then try 10mb)
aslo check script
at
http://www.sqlservercentral.com/scripts/viewscript.asp?scriptid=1461

BTW: if it is trans log file:
try backup it first
Go to Top of Page

Luis Martin
Yak Posting Veteran

54 Posts

Posted - 2006-09-19 : 18:40:12
With a 75Gb database and with 10% shink will take a long time, so be patience or do what Eugene said.
Go to Top of Page
   

- Advertisement -