The transaction log for database 'wcadmin' is full. To find out why space in the log can

Source: Internet
Author: User

The PLM system prompts an error and the workflow cannot be edited.

 

Log Path D: \ PTC \ windchill_10.1 \ windchill \ logs \

Methodserver. Log: the following error message is displayed.

Java. SQL. batchupdateexception: The transaction log for database 'wcadmin' is full. To find out why space in the log cannot be reused, see the log_reuse_wait_desc column in SYS. Databases

 

Cause:The log file is full.

Check:QuerySYS. DatabasesInLog_reuse_wait_descColumn. Use the following SQL statement

Select log_reuse_wait_desc from SYS. databases where [name] = 'wcadmin ';

The value is as follows:Log_backup,This problem must be solved by running log backup. Therefore, perform a log backup for the database:

Continue to execute the following statement,Execution takes about 10 minutes

Backup log wcadmin to disk = 'd: \ log_bakcup \ wcadminackup. trn ';

 

After the backup is complete, the problem is solved, and then checkLog_reuse_wait_descThe value is as follows:Nothing (There are one or more reusable virtual log files.)

 

 

 

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.