<?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; orachk tab$</title>
	<atom:link href="https://www.xifenfei.com/tag/orachk-tab/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>Sat, 07 Nov 2026 15:45:44 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>ORA-600 16703直接把orachk备份表插入到tab$恢复</title>
		<link>https://www.xifenfei.com/2021/03/ora-600-16703-orachk-insert-tab.html</link>
		<comments>https://www.xifenfei.com/2021/03/ora-600-16703-orachk-insert-tab.html#comments</comments>
		<pubDate>Wed, 24 Mar 2021 11:58:47 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[非常规恢复]]></category>
		<category><![CDATA[ORA-600 16703]]></category>
		<category><![CDATA[orachk tab$]]></category>
		<category><![CDATA[tab$被删除]]></category>
		<category><![CDATA[tab$被清空]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=9143</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2021/03/ora-600-16703-orachk-insert-tab.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/2021/03/ora-600-16703-orachk-insert-tab.html" target="_blank">ORA-600 16703直接把orachk备份表插入到tab$恢复</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>有一个朋友和我说，他们数据库出现了以下错误ORA-600 16703 错误<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/03/20210324195416.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/03/20210324195416.png" alt="20210324195416" width="636" height="178" class="alignnone size-full wp-image-9144" /></a><br />
<hr />
他们是在虚拟化环境中,可以恢复到上一个快照点,但是主机启动之后,数据库依旧异常,让我们进行处理</p>
<pre class="brush: sql; title: ; notranslate">
C:\Users\Administrator&gt;sqlplus / as sysdba

SQL*Plus: Release 11.2.0.4.0 Production on Wed Mar 24 17:04:01 2021

Copyright (c) 1982, 2013, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL&gt; select open_mode from v$database;

OPEN_MODE
--------------------
READ WRITE

SQL&gt; select count(1) from tab$;

  COUNT(1)
----------
         0

</pre>
<p>很明显tab$已经被清空,数据库无法正常使用.因为库没有crash,尝试把备份的orachk表插入进来</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; insert into tab$ select * from ORACHKB514061BDCB10EBA9CF58F3;

6318 rows created.

SQL&gt; commit;

Commit complete.

SQL&gt; select 'DROP TRIGGER '||owner||'.&quot;'||TRIGGER_NAME||'&quot;;' from dba_triggers w
here TRIGGER_NAME like 'DBMS_%_INTERNAL% '
  2  union all
  3  select 'DROP PROCEDURE '||owner||'.&quot;'||a.object_name||'&quot;;' from dba_procedu
res a where a.object_name like 'DBMS_%_INTERNAL% '
  4  union all
  5  select 'drop '||object_type||' '||owner||'.'||object_name||';' from dba_obj
ects where object_name in('DBMS_SUPPORT_DBMONITOR','DBMS_SUPPORT_DBMONITORP');

'DROPTRIGGER'||OWNER||'.&quot;'||TRIGGER_NAME||'&quot;;'
--------------------------------------------------------------------------------

drop PROCEDURE SYS.DBMS_SUPPORT_DBMONITORP;
drop TRIGGER SYS.DBMS_SUPPORT_DBMONITOR;

SQL&gt; drop PROCEDURE SYS.DBMS_SUPPORT_DBMONITORP;

Procedure dropped.

SQL&gt; drop TRIGGER SYS.DBMS_SUPPORT_DBMONITOR;

Trigger dropped.

SQL&gt; commit;

Commit complete.

SQL&gt;
</pre>
<p>重启数据库,该故障恢复完成,数据完美恢复0丢失.</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2020/01/plsql-dev-sql-rush-team.html" rel="bookmark" class="crp_title">再次提醒plsql dev勒索事件</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/03/%e8%af%af%e5%88%a0%e9%99%a4dual%e8%a1%a8%e6%81%a2%e5%a4%8d.html" rel="bookmark" class="crp_title">误删除dual表恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/06/ora-01092-ora-00704-ora-00600-16703.html" rel="bookmark" class="crp_title">ORA-00600: internal error code, arguments: [16703], [1403], [32]</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/11/%e6%b8%85%e7%a9%baschema%e4%b8%ad%e6%89%80%e6%9c%89%e8%a1%a8%e7%9a%84comment%e4%bf%a1%e6%81%af.html" rel="bookmark" class="crp_title">清空schema中所有表的comment信息</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2016/11/plsql-dev-hacker-bitcoin.html" rel="bookmark" class="crp_title">plsql dev引起的数据库被黑勒索比特币实现原理分析和解决方案</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/12/impdp-transform.html" rel="bookmark" class="crp_title">impdp TRANSFORM参数</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2011/08/%e5%9c%a8%e7%ba%bf%e9%87%8d%e5%ae%9a%e4%b9%89%e5%8e%9f%e7%90%86%e6%8e%a2%e8%ae%a8.html" rel="bookmark" class="crp_title">在线重定义原理探讨</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/01/impdp-missing-sys-priv.html" rel="bookmark" class="crp_title">impdp导入数据丢失sys授权问题分析</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2015/03/oracle-12c-%e6%96%b0%e7%89%b9%e6%80%a7identity-columns-%e5%ae%9e%e7%8e%b0oracle%e8%87%aa%e5%a2%9e%e9%95%bf%e5%88%97%e5%8a%9f%e8%83%bd.html" rel="bookmark" class="crp_title">ORACLE 12C 新特性Identity Columns&#8212;实现ORACLE自增长列功能</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/07/drop-tablesapce-recovery.html" rel="bookmark" class="crp_title">drop tablesapce 数据恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/10/commit%e5%90%8elob%e5%ad%97%e6%ae%b5%e4%bd%bf%e7%94%a8%e4%b8%b4%e6%97%b6%e8%a1%a8%e7%a9%ba%e9%97%b4%e6%9c%aa%e9%87%8a%e6%94%be.html" rel="bookmark" class="crp_title">commit后lob字段使用临时表空间未释放</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/02/%e8%80%81%e7%89%88%e6%9c%acplsql-developer%e6%93%8d%e4%bd%9c%e6%95%b0%e6%8d%ae%e5%ba%93%e5%af%bc%e8%87%b4ora-0060017113.html" rel="bookmark" class="crp_title">老版本PL/SQL Developer操作数据库导致ORA-00600[17113]</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2021/03/ora-600-16703-orachk-insert-tab.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
