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
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Temp DB log full Error.

Author  Topic 

gangadhara.ms
Aged Yak Warrior

549 Posts

Posted - 2011-12-28 : 21:55:43
In the production we have only one primary file group for TEMP DB

name fileid filename filegroup size maxsize growth usage
tempdev 1 D:\TempDB\tempdb.mdf PRIMARY 4086976 KB Unlimited 10% data only
templog 2 D:\TempDB\templog.ldf NULL 181184 KB Unlimited 10% log only
tempdev_1 3 D:\TempDB\tempdev_1.ndf PRIMARY 3715392 KB Unlimited 10% data only
tempdev_2 4 D:\TempDB\tempdev_2.ndf PRIMARY 3715392 KB Unlimited 10% data only
tempdev_3 5 D:\TempDB\tempdev_3.ndf PRIMARY 3715392 KB Unlimited 10% data only


But i am getting the error of :temp DB log file is full.

Please help me in this regard.


Thanks,
Gangadhara MS
SQL Developer and DBA

gangadhara.ms
Aged Yak Warrior

549 Posts

Posted - 2011-12-28 : 22:00:56
this is the error message i am getting:

Msg 1101, Level 17, State 10, Line 1
Could not allocate a new page for database 'TEMPDB' because of insufficient disk space in filegroup 'DEFAULT'. Create the necessary space by dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.
Msg 9002, Level 17, State 4, Line 1
The transaction log for database 'tempdb' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in sys.databases
Msg 1105, Level 17, State 2, Line 1
Could not allocate space for object 'dbo.SORT temporary run storage: 140737922596864' in database 'tempdb' because the 'PRIMARY' filegroup is full. Create disk space by deleting unneeded files, dropping objects in the filegroup, adding additional files to the filegroup, or setting autogrowth on for existing files in the filegroup.


Thanks,
Gangadhara MS
SQL Developer and DBA
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-12-28 : 22:09:13
You've run out of free disk space for the file to autogrow by 10%. By the way, 10% is not a good value at all for auto-growths, should be a value in MB such as 200 or 512.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -