<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; ORA-00316 ORA-00312</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-00316-ora-00312/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Thu, 22 Oct 2026 15:45:06 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>ORA-00316  ORA-00312故障处理</title>
		<link>https://www.xifenfei.com/2022/10/ora-00316-ora-00312.html</link>
		<comments>https://www.xifenfei.com/2022/10/ora-00316-ora-00312.html#comments</comments>
		<pubDate>Mon, 03 Oct 2022 07:48:20 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle备份恢复]]></category>
		<category><![CDATA[ORA-00316]]></category>
		<category><![CDATA[ORA-00316 ORA-00312]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=9916</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2022/10/ora-00316-ora-00312.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2022/10/ora-00316-ora-00312.html" target="_blank">ORA-00316  ORA-00312故障处理</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>数据库启动报ORA-00316,ORA-00312,无法正常启动<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/10/ORA-00316.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2022/10/ORA-00316.jpg" alt="ORA-00316" width="1241" height="449" class="alignnone size-full wp-image-9917" /></a><br />
<hr />
通过<a href="https://www.xifenfei.com/oracle_recovery_check" title="Oracle数据库异常恢复检查脚本(Oracle Database Recovery Check)" rel="noopener" target="_blank">Oracle数据库异常恢复检查脚本(Oracle Database Recovery Check)</a>分析,确认是当前redo损坏<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/10/20221003154221.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2022/10/20221003154221.jpg" alt="20221003154221" width="1180" height="153" class="alignnone size-full wp-image-9918" /></a><br />
<hr />
对于这种情况,只能是屏蔽一致性,强制拉库,结果在拉库过程中报ORA-600 2662错误<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/10/ORA-600-2662.png"><img src="https://www.xifenfei.com/wp-content/uploads/2022/10/ORA-600-2662.png" alt="ORA-600 2662" width="669" height="169" class="alignnone size-full wp-image-9919" /></a><br />
<hr />
这个错误相对比较简单,修改下相关scn即可,数据库open成功</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; startup nomount pfile='/tmp/pfile'
ORACLE instance started.

Total System Global Area 3.8482E+10 bytes
Fixed Size                  2261368 bytes
Variable Size            8187285128 bytes
Database Buffers         3.0199E+10 bytes
Redo Buffers               93593600 bytes
SQL&gt; CREATE CONTROLFILE REUSE DATABASE &quot;xifenfei&quot; NORESETLOGS  NOARCHIVELOG
  2          MAXLOGFILES 50
  3         MAXLOGMEMBERS 5
  4         MAXDATAFILES 1000
  5         MAXINSTANCES 8
  6         MAXLOGHISTORY 2920
  7  LOGFILE
  8         group 1   '/u01/oracle/app/oradata/xifenfei/redo01.log' size 500M,
  9         group 2   '/u01/oracle/app/oradata/xifenfei/redo02.log' size 500M,
 10         group 6   '/u01/oracle/app/oradata/xifenfei/redo06.log' size 500M,
 11         group 4   '/u01/oracle/app/oradata/xifenfei/redo04.log' size 500M,
 12         group 5   '/u01/oracle/app/oradata/xifenfei/redo05.log' size 500M,
 13         group 3   '/u01/oracle/app/oradata/xifenfei/redo03.log' size 500M
 14  DATAFILE
 15          '/u01/oracle/app/oradata/xifenfei/system01.dbf',
 16          '/u01/oracle/app/oradata/xifenfei/sysaux01.dbf',
 17          '/u01/oracle/app/oradata/xifenfei/undotbs01.dbf',
 18          '/u01/oracle/app/oradata/xifenfei/users01.dbf',
………………
 49          '/u01/oracle/app/oradata/xifenfei/XIFENFEI.dbf'
 50  CHARACTER SET  ZHS16GBK ;

Control file created.

SQL&gt; recover database;
ORA-10877: error signaled in parallel recovery slave


SQL&gt; recover database until cancel;
ORA-00279: change 2290050101 generated at 09/30/2022 23:18:22 needed for thread
1
ORA-00289: suggestion : /u02/oracle/arch/1_2_1116803861.dbf
ORA-00280: change 2290050101 for thread 1 is in sequence #2


Specify log: {&lt;RET&gt;=suggested | filename | AUTO | CANCEL}
cancel
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01194: file 1 needs more recovery to be consistent
ORA-01110: data file 1: '/u01/oracle/app/oradata/xifenfei/system01.dbf'


ORA-01112: media recovery not started


SQL&gt; alter database open resetlogs;

Database altered.
</pre>
<p>检查数据库字典一致性</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; @1
HCheck Version 07MAY18 on 01-OCT-2022 01:07:48
----------------------------------------------
Catalog Version 11.2.0.4.0 (1102000400)
db_name: XIFENFEI

                                   Catalog       Fixed
Procedure Name                     Version    Vs Release    Timestamp
Result
------------------------------ ... ---------- -- ---------- --------------
------
.- LobNotInObj                 ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- MissingOIDOnObjCol          ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- SourceNotInObj              ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- OversizedFiles              ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- PoorDefaultStorage          ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- PoorStorage                 ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- TabPartCountMismatch        ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- OrphanedTabComPart          ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- MissingSum$                 ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- MissingDir$                 ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- DuplicateDataobj            ... 1102000400 &lt;=  *All Rel* 10/01 01:07:48 PASS
.- ObjSynMissing               ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- ObjSeqMissing               ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedUndo                ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedIndex               ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedIndexPartition      ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedIndexSubPartition   ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedTable               ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedTablePartition      ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedTableSubPartition   ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- MissingPartCol              ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedSeg$                ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- OrphanedIndPartObj#         ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- DuplicateBlockUse           ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- FetUet                      ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- Uet0Check                   ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- SeglessUET                  ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- BadInd$                     ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- BadTab$                     ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- BadIcolDepCnt               ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- ObjIndDobj                  ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- TrgAfterUpgrade             ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- ObjType0                    ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- BadOwner                    ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- StmtAuditOnCommit           ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- BadPublicObjects            ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- BadSegFreelist              ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- BadDepends                  ... 1102000400 &lt;=  *All Rel* 10/01 01:07:49 PASS
.- CheckDual                   ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- ObjectNames                 ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- BadCboHiLo                  ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- ChkIotTs                    ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- NoSegmentIndex              ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- BadNextObject               ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- DroppedROTS                 ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- FilBlkZero                  ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- DbmsSchemaCopy              ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- OrphanedObjError            ... 1102000400 &gt;  1102000000 10/01 01:07:50 PASS
.- ObjNotLob                   ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- MaxControlfSeq              ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- SegNotInDeferredStg         ... 1102000400 &gt;  1102000000 10/01 01:07:50 PASS
.- SystemNotRfile1             ... 1102000400 &gt;   902000000 10/01 01:07:50 PASS
.- DictOwnNonDefaultSYSTEM     ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- OrphanTrigger               ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
.- ObjNotTrigger               ... 1102000400 &lt;=  *All Rel* 10/01 01:07:50 PASS
---------------------------------------
01-OCT-2022 01:07:50  Elapsed: 2 secs
---------------------------------------
Found 0 potential problem(s) and 0 warning(s)

PL/SQL procedure successfully completed.

Statement processed.
</pre>
<p>数据库字典本身没有大问题,但是为了排除潜在风险,建议逻辑迁移到新库</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/10/ora-600-2662-202510.html" rel="bookmark" class="crp_title">ORA-600 2662错误处理-202510</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/05/oracle-power-outage-recovery.html" rel="bookmark" class="crp_title">Oracle断电故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/07/ora-00333-ora-01595.html" rel="bookmark" class="crp_title">ORA-00333  ORA-01595 恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/02/ora-01114-ora-27070-ora-600-2662.html" rel="bookmark" class="crp_title">硬件故障导致ORA-600 2662错误处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/04/ora-600-ktbsdp2.html" rel="bookmark" class="crp_title">ORA-600 ktbsdp2 处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/12/recovery-ora-01555.html" rel="bookmark" class="crp_title">resetlogs失败故障恢复-ORA-01555</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/08/ora-600-krhpfh_03-1210.html" rel="bookmark" class="crp_title">ORA-600 krhpfh_03-1210故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/08/200t-oracle-recovery-ora-01113-ora-01110.html" rel="bookmark" class="crp_title">200T 数据库非归档无备份恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/11/patch_blk.html" rel="bookmark" class="crp_title">Oracle坏块修复工具:Patch_blk</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/04/login-trigger-ora-16191.html" rel="bookmark" class="crp_title">login trigger导致ORA-16191问题</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/11/ora-600-kccpb_sanity_check_2.html" rel="bookmark" class="crp_title">ora-600 kccpb_sanity_check_2故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/11/ext3-ext4-superblock-recovery.html" rel="bookmark" class="crp_title">ext3/ext4 超级块修复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2022/10/ora-00316-ora-00312.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
