Warning. Log sequence in archive filename wrapped to fix length as indicated by % S in LOG_ARCHIVE_F, archivefilename

Source: Internet
Author: User

Warning. Log sequence in archive filename wrapped to fix length as indicated by % S in LOG_ARCHIVE_F, archivefilename

The following warning message was found during the database check recently:

Thu Apr 02 10:34:39 2015  Current log# 1 seq# 235103 mem# 0: D:\ORADATA\ORCL\REDO01.LOGThu Apr 02 10:34:40 2015ARC1: Evaluating archive   log 3 thread 1 sequence 235102Thu Apr 02 10:34:40 2015ARC1: Warning.  Log sequence in archive filename wrappedto fix length as indicated by %S in LOG_ARCHIVE_FORMAT.Old log archive with same name might be overwritten.Committing creation of archivelog 'D:\ARCHIVELOG\ARC35102_0749482202.001'

After query, this is an oracle bug. The default value of LOG_ARCHIVE_FORMAT in the database is ARC % S _ % R. % T. % S is a serial number. Only five digits are supported (that is, the maximum value is 99999). When this value is exceeded, only five digits are displayed, therefore, alert prompts that files with the same name may be overwritten,
The current log_archive_format settings of the system:

SQL> show parameter log_archive_formatNAME                                 TYPE        VALUE------------------------------------ ----------- -----------log_archive_format                   string      ARC%S_%R.%T

The solution provided by Oracle is to change % S in log_archive_format to % s.
To modify this parameter, restart the database.

alter system set LOG_ARCHIVE_FORMAT='ARC%s_%R.%T' scope=spfile;

Restart the database.

Related Article

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.