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
 General SQL Server Forums
 New to SQL Server Programming
 Temp Db

Author  Topic 

chetan_dba
Starting Member

21 Posts

Posted - 2008-04-02 : 05:15:14
Hi all ,
this is chetan .SQl server DBa.
i want to know that what should be done when tempdb is full.

Thanks in advance...

Thanks in advance.
-- Chetan

nr
SQLTeam MVY

12543 Posts

Posted - 2008-04-02 : 05:18:49
Find out why it got full?
Make it bigger?
Kill any processes that are holding objects should release space or a restart of the server will recreate an empty tempdb.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

tosscrosby
Aged Yak Warrior

676 Posts

Posted - 2008-04-02 : 14:02:18
I agree about finding out why it got full and possibly make it bigger. I don't necessarily agree with killing the processes unless you are absolutely certain that isn't going to cause other issues. However, if the system is locked up, you have little choice but to restart the services (which'll kill the processes). Be prepared for rollbacks in this instance (additional downtime).

Terry
Go to Top of Page

X002548
Not Just a Number

15586 Posts

Posted - 2008-04-02 : 14:07:00
If tempdb is full you aren't going to be able to do anything, hence killing the spids

How much HD space is available?

And after you clean everything up, you should really set some alerts



Brett

8-)

Hint: Want your questions answered fast? Follow the direction in this link
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx

Add yourself!
http://www.frappr.com/sqlteam



Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-04-02 : 23:28:18
If log is full (most likely), you can free up some space with 'backup log tempdb with truncate_only'.
Go to Top of Page
   

- Advertisement -