Could not allocate space for object in database TEMPDB because DEFAULT' filegroup is full.

Hi all,
I got this error and someone please let me know of the necessary steps to be taken

"Could not allocate space for object in database TEMPDB because DEFAULT' filegroup is full."

Thanks in advance.
msdbaAsked:
Who is Participating?
 
sachitjainConnect With a Mentor Commented:
TEMPDB could be cleared off by restarting the SQL Server service. You could add more filegroups to TEMPDB also so that it could grow more but that is not going to solve your problem if you are not making legitimate use of TEMPDB. I would suggest, please put Perfmon on for TEMPDB related counters and check which of your procedures/queries/transactions are actually piling on TEMPDB. You may need to rewrite those procedures/queries/transactions then to reduce the load on TEMPDB by minimizing use of cursors, sorts in queries, temp tables and table variables etc if possible.

Moreover what is the isolation level of your database. If ALLOW_SNAPSHOT flag is true or isolation level is READ_COMMITTED_SNAPSHOT then that also would put additional load on TEMPDB. Check if is there? If YES then is it really required?
0
 
Chris MangusDatabase AdministratorCommented:
If your TEMPDB is set to allow autogrow, as it should, I suspect your hard disk is full.
0
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
one small detail could be the edition of your sql server installation. if it's a limited edition (sql express...), your databases (including tempdb) are blocked at some size, depending on the version you have, even if you "allow auto-grow".

note that normally, the real issue is that some process is badly written, and just uses too much tempdb space.
0
 
msdbaAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.