<?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-600恢复</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-600%e6%81%a2%e5%a4%8d/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>Wed, 04 Nov 2026 15:33:30 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>ORA-600 4194/ORA-600 4193/ORA-600 4137故障解决</title>
		<link>https://www.xifenfei.com/2016/08/ora-600-4194-ora-600-4193-ora-600-4137.html</link>
		<comments>https://www.xifenfei.com/2016/08/ora-600-4194-ora-600-4193-ora-600-4137.html#comments</comments>
		<pubDate>Thu, 04 Aug 2016 06:04:29 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle备份恢复]]></category>
		<category><![CDATA[ORA-600]]></category>
		<category><![CDATA[ORA-600 4137]]></category>
		<category><![CDATA[ORA-600 4193]]></category>
		<category><![CDATA[ORA-600 4194]]></category>
		<category><![CDATA[ORA-600恢复]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=6564</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2016/08/ora-600-4194-ora-600-4193-ora-600-4137.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/2016/08/ora-600-4194-ora-600-4193-ora-600-4137.html" target="_blank">ORA-600 4194/ORA-600 4193/ORA-600 4137故障解决</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>对于常见的undo异常错误,ORA-600 4193,ORA-600 4194,ORA-600 4137等错误的处理一般步骤.<br />
<strong>适用版本</strong></p>
<pre class="brush: bash; title: ; notranslate">
Oracle Database - Enterprise Edition - Version 9.2.0.1 to 11.2.0.4 [Release 9.2 to 11.2]
Information in this document applies to any platform.</pre>
<p><strong>报错现象</strong></p>
<pre class="brush: bash; title: ; notranslate">
The following error is occurring in the alert.log right before the database crashes.

ORA-00600: internal error code, arguments: [4194], [#], [#], [], [], [], [], []

This error indicates that a mismatch has been detected between redo records and rollback (undo) records.

ARGUMENTS:

Arg [a] - Maximum Undo record number in Undo block
Arg [b] - Undo record number from Redo block

Since we are adding a new undo record to our undo block, we would expect that the new record number
 is equal to the maximum record number in the undo block plus one. Before Oracle can add 
a new undo record to the undo block it validates that this is correct. If this validation fails,
 then an ORA-600 [4194] will be triggered.
</pre>
<p><strong>报错原因</strong></p>
<pre class="brush: bash; title: ; notranslate">
This also can be cause by the following defect

Bug 8240762 Abstract: Undo corruptions with ORA-600 [4193]/ORA-600 [4194] or ORA-600 [4137] after SHRINK

Details: 
Undo corruption may be caused after a shrink and the same undo block may be used 
for two different transactions causing several internal errors like:
ORA-600 [4193] / ORA-600 [4194] for new transactions
ORA-600 [4137] for a transaction rollback
</pre>
<p><strong>处理步骤</strong></p>
<pre class="brush: bash; title: ; notranslate">
Best practice to create a new undo tablespace.
This method includes segment check.

Create pfile from spfile to edit
&gt;create pfile from spfile;

1. Shutdown the instance

2. set the following parameters in the pfile
    undo_management = manual
    event = '10513 trace name context forever, level 2'

3. &gt;startup restrict pfile=&lt;initsid.ora&gt;

4. &gt;select tablespace_name, status, segment_name from dba_rollback_segs where status != 'OFFLINE';

This is critical - we are looking for all undo segments to be offline - System will always be online.

If any are 'PARTLY AVAILABLE' or 'NEEDS RECOVERY' - Please open an issue with Oracle Support or update the current SR.

If all offline then continue to the next step

5. Create new undo tablespace - example
&gt;create undo tablespace &lt;new undo tablespace&gt; datafile &lt;datafile&gt; size 2000M;

6. Drop old undo tablespace
&gt;drop tablespace &lt;old undo tablespace&gt; including contents and datafiles;

7. &gt;shutdown immediate;

8 &gt;startup nomount;  --&gt; Using your Original spfile

9 modify the spfile with the new undo tablespace name

  Alter system set undo_tablespace = '&lt;new tablespace created in step 5&gt;' scope=spfile;

10. &gt;shutdown immediate;

11. &gt;startup;  --&gt; Using spfile
 


The reason we create a new undo tablespace first is to use new undo segment numbers
 that are higher then the current segments being used.
This way when a transaction goes to do block clean-out 
the reference to that undo segment does not exist and continues with the block clean-out.</pre>
<p>参考：tep by step to resolve ORA-600 4194 4193 4197 on database crash (Doc ID 1428786.1)</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/07/ora-600-4193.html" rel="bookmark" class="crp_title">ORA-600 4193 错误说明和解决</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/02/ora-60041944193%e8%a7%a3%e5%86%b3.html" rel="bookmark" class="crp_title">ORA-600[4194]/[4193]解决</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/08/undo%e5%bc%82%e5%b8%b8%e5%a4%84%e7%90%86%e6%ad%a5%e9%aa%a4%ef%bc%889i%ef%bc%89.html" rel="bookmark" class="crp_title">undo异常处理步骤（9i）</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/06/undo%e6%8d%9f%e5%9d%8f%e6%81%a2%e5%a4%8d-%e6%97%a0%e4%ba%8b%e5%8a%a1.html" rel="bookmark" class="crp_title">undo损坏恢复–无事务</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/06/oracle%e5%9c%a8%e7%ba%bf%e5%88%87%e6%8d%a2undo%e8%a1%a8%e7%a9%ba%e9%97%b4.html" rel="bookmark" class="crp_title">ORACLE在线切换undo表空间</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/07/ora-600-4194.html" rel="bookmark" class="crp_title">How to resolve ORA-600 [4194] errors</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/06/undo%e6%8d%9f%e5%9d%8f%e6%81%a2%e5%a4%8d-%e6%9c%89%e4%ba%8b%e5%8a%a1.html" rel="bookmark" class="crp_title">undo损坏恢复–有事务</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/08/undo%e5%bc%82%e5%b8%b8%e5%a4%84%e7%90%86%e6%ad%a5%e9%aa%a4.html" rel="bookmark" class="crp_title">undo异常处理步骤（10g）</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/02/_gc_undo_affinity-ora-1558.html" rel="bookmark" class="crp_title">_gc_undo_affinity=FALSE触发ORA-01558</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2020/01/oracle-common-errors.html" rel="bookmark" class="crp_title">ORACLE中比较常见的一些错误的解释</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/08/oracle-8-1-7-%e6%95%b0%e6%8d%ae%e5%ba%93ora-600-4000%e6%95%85%e9%9a%9c%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">ORACLE 8.1.7 数据库ORA-600 4000故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/12/ora-006004194%e6%95%85%e9%9a%9c%e8%a7%a3%e5%86%b3.html" rel="bookmark" class="crp_title">ORA-00600[4194]故障解决</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2016/08/ora-600-4194-ora-600-4193-ora-600-4137.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
