<?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[KCLCHKBLK_4]</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-600kclchkblk_4/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, 29 Oct 2026 15:31:46 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>rac redo log file被意外覆盖数据库恢复</title>
		<link>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html</link>
		<comments>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html#comments</comments>
		<pubDate>Thu, 17 May 2012 07:28:56 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle备份恢复]]></category>
		<category><![CDATA[ORA-600 KCLCHKBLK_4]]></category>
		<category><![CDATA[ORA-600[KCLCHKBLK_4]]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=3179</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.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/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html" target="_blank">rac redo log file被意外覆盖数据库恢复</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p><strong>当前日志被覆盖导致错误</strong><br />
朋友的一客户在一套rac上包含了两个数据库,其其中一个库增加redo group时候,覆盖了另外一个库的redo,悲剧的是刚好是current redo</p>
<pre class="brush: bash; title: ; notranslate">
Wed May 16 17:03:05 2012
ALTER DATABASE OPEN
This instance was first to open
Wed May 16 17:03:09 2012
Beginning crash recovery of 2 threads
 parallel recovery started with 15 processes
Wed May 16 17:03:11 2012
Started redo scan
Wed May 16 17:03:11 2012
Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2040024.trc:
ORA-00305: log 14 of thread 1 inconsistent; belongs to another database
ORA-00312: online log 14 thread 1: '/dev/rods_redo1_2_2'
ORA-00305: log 14 of thread 1 inconsistent; belongs to another database
ORA-00312: online log 14 thread 1: '/dev/rods_redo1_2_1'
Abort recovery for domain 0
Wed May 16 17:03:11 2012
Aborting crash recovery due to error 305
Wed May 16 17:03:11 2012
Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2040024.trc:
ORA-00305: log 14 of thread 1 inconsistent; belongs to another database
ORA-00312: online log 14 thread 1: '/dev/rods_redo1_2_2'
ORA-00305: log 14 of thread 1 inconsistent; belongs to another database
ORA-00312: online log 14 thread 1: '/dev/rods_redo1_2_1'
ORA-305 signalled during: ALTER DATABASE OPEN...
Wed May 16 17:03:13 2012
Shutting down instance (abort)
</pre>
<p><strong>使用_allow_resetlogs_corruption= TRUE进行恢复</strong></p>
<pre class="brush: bash; title: ; notranslate">
Wed May 16 18:16:48 2012
SMON: enabling cache recovery
Wed May 16 18:16:48 2012
Instance recovery: looking for dead threads
Instance recovery: lock domain invalid but no dead threads
Wed May 16 18:16:48 2012
Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2105454.trc:
ORA-00600: internal error code, arguments: [kclchkblk_4], [2522], [18446744072024280773], 
[2522], [18446744072024247666], [], [], []
Wed May 16 18:16:50 2012
Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2105454.trc:
ORA-00600: internal error code, arguments: [kclchkblk_4], [2522], [18446744072024280773], 
[2522], [18446744072024247666], [], [], []
Wed May 16 18:16:50 2012
Error 600 happened during db open, shutting down database
USER: terminating instance due to error 600
Instance terminated by USER, pid = 2105454
ORA-1092 signalled during: alter database open resetlogs...
</pre>
<p>ORA-600[KCLCHKBLK_4], is signaled because the SCN in a tempfile block is too high.<br />
The same reason caused the ORA-600[2662]s in the alert logs.<br />
因为是临时文件的scn太大的问题,那就比较好解决:<br />
启动数据库到mount状态,查询出来相关temp file,然后drop掉.<br />
<br />
<strong>ORA-00600[6856]</strong></p>
<pre class="brush: bash; title: ; notranslate">
Wed May 16 20:25:16 2012
Errors in file /oracle/admin/odsdb/bdump/odsdb1_smon_2482210.trc:
ORA-00339: archived log does not contain any redo
ORA-00334: archived log: '/dev/rods_redo2_1_1'
ORA-00600: internal error code, arguments: [6856], [0], [0], [], [], [], [], []
ORACLE Instance odsdb1 (pid = 16) - Error 600 encountered while recovering transaction 
(10, 8） on object 7162533.
Wed May 16 20:25:16 2012
Errors in file /oracle/admin/odsdb/bdump/odsdb1_smon_2482210.trc:
ORA-00600: internal error code, arguments: [6856], [0], [0], [], [], [], [], []
</pre>
<p>这里的4193和4194是比较熟悉的,根据这里的提示猜测6856也是和undo有关系<br />
ORA-600[6856]SMON is trying to recover a dead transaction.<br />
But the undo application runs into an internal error (trying to delete a row that is already deleted).<br />
因为smon回滚的时候出现上面错误,解决方法是想办法终止回滚,使用event=&#8221;10513 trace name context forever, level 2&#8243;.<br />
<br />
<strong>ORA-00600[4193]/ORA-00600[4194]</strong></p>
<pre class="brush: bash; title: ; notranslate">
Wed May 16 20:25:17 2012
Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2547936.trc:
ORA-00339: archived log does not contain any redo
ORA-00334: archived log: '/dev/rods_redo2_1_1'
ORA-00600: internal error code, arguments: [4194], [22], [25], [], [], [], [], []
Wed May 16 20:25:18 2012
Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2547936.trc:
ORA-00339: archived log does not contain any redo
ORA-00334: archived log: '/dev/rods_redo2_1_1'
ORA-00600: internal error code, arguments: [4194], [22], [25], [], [], [], [], []
Wed May 16 20:25:56 2012
Errors in file /oracle/admin/odsdb/udump/odsdb1_ora_2547936.trc:
ORA-00600: internal error code, arguments: [4193], [22248], [22252], [], [], [], [], []
</pre>
<p>太常见错误,不再做说明,虽然使用event是的库open成功,因为部分回滚段有问题,该错误还是会出现(还是喜欢直接屏蔽回滚段)<br />
<br />
<strong>ORA-00600[ktpridestroy2]</strong></p>
<pre class="brush: bash; title: ; notranslate">
Wed May 16 20:36:26 2012
Errors in file /oracle/admin/odsdb/bdump/odsdb1_smon_2101296.trc:
ORA-00600: internal error code, arguments: [ktpridestroy2], [], [], [], [], [], [], []
</pre>
<p>This error could be the result of a corruption and involves the parallel rollback that SMON enables each startup.<br />
解决:fast_start_parallel_rollback=false<br />
<br />
<strong>ORA-00600[kturacf1]/ORA-00600[kcbgcur_9]</strong></p>
<pre class="brush: bash; title: ; notranslate">
Wed May 16 20:49:15 2012
Errors in file /oracle/admin/odsdb/bdump/odsdb1_j000_2007088.trc:
ORA-00600: internal error code, arguments: [kturacf1], [2097152], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [kcbgcur_9], [780140563], [4], [4294959056], [2097152], [], [], []
</pre>
<p>ORA-00600[kturacf1]错误未查询到原因<br />
ORA-00600[kcbgcur_9]错误原因可能是:Buffers are pinned in a specific class order to prevent internal deadlocks.<br />
因为这两个错误是job产生非致命错误,在这次的处理过程中可以忽略<br />
<br />
<strong>ORA-00600[4097]</strong></p>
<pre class="brush: bash; title: ; notranslate">
Wed May 16 21:05:05 2012
Errors in file /oracle/admin/odsdb/bdump/odsdb1_j000_1716282.trc:
ORA-12012: error on auto execute of job 6603
ORA-20001: ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], []
ORA-06512: at &quot;EPBI.UP_SYSLOG_ONLINE_USER&quot;, line 141
ORA-00600: internal error code, arguments: [4097], [], [], [], [], [], [], []
</pre>
<p>When an instance has a rollback segment offline and the instance crashes, or<br />
the user does a shutdown abort, the rollback segment wrap number does not get<br />
updated.  If that segment is then dropped and recreated immediately after the<br />
instance is restarted, the wrap number could be lower than existing wrap<br />
numbers.  This will cause the ORA-600[4097] to occur in subsequent<br />
transactions using Rollback.<br />
这个错误也是因为回滚段wrap number未被及时更新导致的异常.<br />
<br />
<strong>总结这次恢复过程</strong><br />
1.因当前redo丢失,使用隐含参数打开库,然后出现ORA-600[KCLCHKBLK_4](这个错误比较少见,更何况这个库是10.2.0.4）<br />
2.undo出现问题出现ORA-00600[6856]错误不是很多见<br />
3.接下来都是一些列undo导致的问题,其实如果开始就直接使用隐含参数删除掉有问题回滚段,效果可能会比event好.<br />
4.因为部分trace文件没有拿到,未做深入分析,文章列出整体恢复思路<br />
5.本次恢复的数据库版本是10.2.0.4,根据mos描述,很多错误应不会发生,但是实际还是发生了,MOS的版本范围,不要太看重.<br />
6.其实这篇文章的本质不是展示恢复过程,而是再一次提醒:<strong>操作数据库慎重,特别是一台机器上多套库</strong>.</p>
<div id="crp_related"><ul><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/2020/10/ora-600-6006.html" rel="bookmark" class="crp_title">ORA-00600: internal error code, arguments: [6006], [1], [], [], [], [], [], []</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/06/spfile%e8%a2%ab%e8%a6%86%e7%9b%96%e5%af%bc%e8%87%b4ora-600kmgs_parameter_update_timeout_1.html" rel="bookmark" class="crp_title">spfile被覆盖导致ORA-600[kmgs_parameter_update_timeout_1]</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/12/ora-00600kcfrbd_3%e6%95%85%e9%9a%9c%e8%a7%a3%e5%86%b3.html" rel="bookmark" class="crp_title">ORA-00600[kcfrbd_3]故障解决</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/03/undo%e5%bc%82%e5%b8%b8%e6%80%bb%e7%bb%93%e5%92%8c%e6%81%a2%e5%a4%8d%e6%80%9d%e8%b7%af.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/07/undo-segment-header%e5%9d%8f%e5%9d%97%e5%bc%82%e5%b8%b8%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">undo segment header坏块异常恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/05/%e8%ae%b0%e5%bd%95%e4%b8%80%e6%ac%a1%e6%af%94%e8%be%83%e6%a3%98%e6%89%8b%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d%e8%a6%81%e7%82%b9.html" rel="bookmark" class="crp_title">记录一次比较棘手数据库恢复要点</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/06/%e8%ae%b0%e5%bd%95%e5%8f%a6%e4%b8%80%e8%b5%b7ora-0060013013%e5%a4%84%e7%90%86.html" rel="bookmark" class="crp_title">记录另一起ORA-00600[13013]处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/09/ora-12514-tns-%e7%9b%91%e5%90%ac%e8%bf%9b%e7%a8%8b%e4%b8%8d%e8%83%bd%e8%a7%a3%e6%9e%90%e5%9c%a8%e8%bf%9e%e6%8e%a5%e6%8f%8f%e8%bf%b0%e7%ac%a6%e4%b8%ad%e7%bb%99%e5%87%ba%e7%9a%84service_name.html" rel="bookmark" class="crp_title">ORA-12514: TNS: 监听进程不能解析在连接描述符中给出的SERVICE_NAME</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2018/10/oracle-8-recovery.html" rel="bookmark" class="crp_title">oracle 8.1.6因断电无法启动恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/06/%e8%ae%b0%e5%bd%95%e4%b8%80%e6%ac%a1ora-00600kdxlinpsno-out-of-rangeora-006003020ora-006004000ora-006004193%e7%9a%84%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">记录一次ORA-00600[kdxlin:psno out of range]/ORA-00600[3020]/ORA-00600[4000]/ORA-00600[4193]的数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/09/ora-607ora-6004194%e4%b8%8d%e4%b8%80%e5%ae%9a%e6%98%af%e9%87%8d%e5%a4%a7%e7%81%be%e9%9a%be.html" rel="bookmark" class="crp_title">ORA-607/ORA-600[4194]不一定是重大灾难</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2012/05/rac-redo-log-file%e8%a2%ab%e6%84%8f%e5%a4%96%e8%a6%86%e7%9b%96%e6%95%b0%e6%8d%ae%e5%ba%93%e6%81%a2%e5%a4%8d.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
