tempdb full on new system

Hi,

Application is throwing errors.Is there anyway to fix this with out restarting the server on a newly migrated s

September 9th, 2015 2:00pm

Hi,

I recall at least 4 reasons that explain why tempdb would fill up :

1. Long running transactions (SQL writes in tempdb until the transaction is either commited or rolled back)

2. Your application is creating large temporary tables (#table or ##table) that, by some reason, are not being

cleaned up properly (or they're kept alive for too long).

3. Your indexes have sort_in_tempdb enabled and some massive sort operations are being executed

4. Everything is OK but your tempdb storage requirements have not been properly estimated

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 2:10pm

@Sebastian:- How you identified its a TempDB full issue ? Is it from title.. I am just curious as I don't see any error information inside  nothing offensive

@Arun:- Please be descriptive with error

Assuming this as a TEMPDB full error, You have your transactions rolled back when it got full and doesn't had space to hold further.

You can get an idea on this by checking the Error log.

Make sure you are running your transactions on few batches rather than running it at a shot. I'm saying this because I have dealt with this issues where Application team was running ,long transactional batches. If you think that's not what is happening, Examine you TempDB Disk space and Add more storage if you could.

September 9th, 2015 3:52pm

When you have this issue you can run the query to see what objects are existing in the tempdb.

select * from tempdb.sys.objects

increase the Tempdb size is one quick releaf.

Add more secondary files to your tempdb.

Free Windows Admin Tool Kit Click here and download it now
September 9th, 2015 9:08pm

Hi,

Application is throwing errors.Is there anyway to fix this with out restarting the server on a newly migrated s

September 10th, 2015 12:32am

https://support.microsoft.com/en-us/kb/307487
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 1:24am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics