VBBRett
asked on
Shrink Job in SQL Server
I am running a shrink job on SQL Server 2005 and the database called TempDB became massively huge as in over 200 gigabytes. I just started a shrink job on the database, so how long will this take before this finishes?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
An easy way to shrink tempdb is to restart the SQL server but this doesn't guarantee that it won't groe again later. You have to find out what causes it and at the same time make sure to give enough room to tempdb files to grow.
Here is a good article:
http://sqlserver2000.databases.aspfaq.com/why-is-tempdb-full-and-how-can-i-prevent-this-from-happening.html