Solved

SQL Server, 2000 - The log file for database 'tempdb' is full. Back up the transaction log for the database to free up some log space.

Posted on 2007-11-28
6
1,852 Views
Last Modified: 2008-02-01
I am executing a script that loops into my table, and I get this after around 10 minutes of waiting!

--------------------------------------------------------------
Server: Msg 9002, Level 17, State 2, Line 11
The log file for database 'tempdb' is full. Back up the transaction log for the database to free up some log space.
0
Comment
Question by:feesu
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:Alex342
ID: 20371690
change growth rate  to 10 mega and unrestricted
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 20371696
1. Use  DBCC SHRINKFILE() and DBCC SHRINKDATABASE()
2. restart the SQL Server service
0
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 250 total points
ID: 20371743
option 3 :

. run  BACKUP LOG tempdb WITH TRUNCATE_ONLY
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 

Author Comment

by:feesu
ID: 20371751
I tried the shrink, it didn't work.
How do i do the backup log thing? Do i execute a statement?
0
 
LVL 75

Expert Comment

by:Aneesh Retnakaran
ID: 20371777
yes You need to run it
0
 

Author Comment

by:feesu
ID: 20371844
Worked perfectly. Thanks.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question