Link to home
Start Free TrialLog in
Avatar of jvoconnell
jvoconnell

asked on

Recovering Disk space

We copied a large amount of data from one server to another. The data files for tempdb grew  to a point where it used up almost all available disk space.  I stopped and started the services and even went as far as rebooting the server. SQL will not release the free space back to the OS.  BOL says that tempdb is re created everytime SQL Server is started.  Any suggestions????
Avatar of sigmacon
sigmacon

In enterprise manager, have you tried to shrink tempdb yet? That usually makes actual changes to the data file size.
Avatar of jvoconnell

ASKER

I did try that and it decreased the used space but the free space is still being retained by SQL.
ASKER CERTIFIED SOLUTION
Avatar of wael_tahon
wael_tahon
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Partha Mandayam
Since you copied a large amount of data, the transaction log must have got full. Try shrinking the log as per the following article
http://support.microsoft.com/default.aspx?scid=kb;EN-US;272318
Thanks a million!!!!!