The log for resolving "database 'tempdb' is full. Back up transaction logs of the database to release some log space.

Source: Internet
Author: User

A background page using sqlserver2000 always reports that the "database 'tempdb' log is full. Back up the transaction logs of the database to release some log space.ProgramThe same error is recorded in the log.
The following figure shows the database attributes, which are automatically increasing without specifying the maximum file size.
The disk where the database is located has a lot of available space. It seems that I have to take a heavy dose.
Change the size of the tempdb data file and log file to 500 mb.

 

 

 

Command to record the log clearing:
Dump transaction dbname with no_log
Transaction Log truncation command:
Backup log dbname with no_log
Log shrinking:
Right-click Database-properties-all tasks-shrink database-file-Select File-OK.

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.