ORA-00314, redolog corruption, or missing Handling Methods

Source: Internet
Author: User

Alertsid. log error message:

Fri Sep 27 15:18:39 2013
Started redo scan
Fri Sep 27 15:18:39 2013
Errors in file/oracle/admin/lixora/udump/lixora_ora_23439.trc:
ORA-00314: log 2 of thread 1, expected sequence #335 doesn't match 331
ORA-00312: online log 2 thread 1: '/oracle/oradata/lixora/redo02.log'
Fri Sep 27 15:18:39 2013
Aborting crash recovery due to error 314

 

View the current log group information:
SQL> select * From v $ log;

GROUP # THREAD # SEQUENCE # BYTES MEMBERS ARC STATUS
---------------------------------------------------------------------
FIRST_CHANGE # FIRST_TIM
----------------------
1 1 334 52428800 1 NO ACTIVE
3613897 27-SEP-13

4 1 333 104857600 1 NO INACTIVE
3613895 27-SEP-13

3 1 336 52428800 1 NO CURRENT
3613948 27-SEP-13

2 1 335 52428800 1 NO ACTIVE
3613899 27-SEP-13

If the online redo log of the specified region is inactive when you query v $ log, it indicates that the Group log is not a pre-existing log and has been completed successfully (the STATUS is INACTIVE, ARCHIVE is YES ).

Processing Method (used for batch and non-linear data processing ):

Use the clear command to clear the redo log group of the file.

SQL> alter database clear logfile group 3;

If the log group does not have dynamic partition (STATUS is INACTIVE, ARCHIVE is NO)

Use the following command

SQL> alter database clear unarchived logfile group 3;

Then, open the data preview and copy it.

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.