<?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; asm drop表空间恢复</title>
	<atom:link href="https://www.xifenfei.com/tag/asm-drop%e8%a1%a8%e7%a9%ba%e9%97%b4%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>ASM删除表空间恢复</title>
		<link>https://www.xifenfei.com/2022/05/asm-drop-tbs-recovery.html</link>
		<comments>https://www.xifenfei.com/2022/05/asm-drop-tbs-recovery.html#comments</comments>
		<pubDate>Tue, 10 May 2022 05:00:46 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle备份恢复]]></category>
		<category><![CDATA[asm drop表空间恢复]]></category>
		<category><![CDATA[drop tablespace 恢复]]></category>
		<category><![CDATA[删除表空间恢复]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=9687</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2022/05/asm-drop-tbs-recovery.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/05/asm-drop-tbs-recovery.html" target="_blank">ASM删除表空间恢复</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>前几天刚刚恢复了一个文件系统层面drop 表空间的case(<a href="https://www.xifenfei.com/2022/04/drop-tablespace-recovery.html" title="分享运气超级好的一次drop tablespace 数据恢复" rel="noopener" target="_blank">分享运气超级好的一次drop tablespace 数据恢复</a>),又一客户删除表空间(认为是不要的表空间),结果发现业务上丢失了很多表数据,通过分析和回顾以往事件,确认由于在以前数据迁移过来的过程中,数据写入了和原库一致的表空间,而没有恢复到本该恢复的新表空间中,这次删除该空间导致很多表数据丢失.而且该客户是asm环境,drop tablespace带上了including contents and datafiles语句,导致该表空间对应的数据文件也丢失.对于这类数据的恢复,一般情况下先通过asm层面恢复出来被删除的数据文件,然后再对被删除的数据文件按照丢失system的方式恢复里面的表数据(这个客户有历史备份便于整合)<br />
在恢复被删除的文件之前,需要先确认对应的被删除的表空间信息和对应的文件信息,通过对底层字典分析file$,ts$,结合alert日志,可以确认被删除文件的文件号,文件名称等信息<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/05/20220510122726.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2022/05/20220510122726.jpg" alt="20220510122726" width="1041" height="101" class="alignnone size-full wp-image-9688" /></a><br />
由于文件已经从asm磁盘组中删除,无法直接恢复,通过对asm磁盘组进行扫描找出对应的block信息,参考:<a href="https://www.xifenfei.com/2017/11/asm-datafile-lost-recovery.html" title="asm磁盘组操作不当导致数据文件丢失恢复" rel="noopener" target="_blank">asm磁盘组操作不当导致数据文件丢失恢复</a>类似处理方法,分析文件是否异常<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/05/20220510124206.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2022/05/20220510124206.jpg" alt="20220510124206" width="674" height="552" class="alignnone size-full wp-image-9689" /></a><br />
初步判断文件恢复效果应该不错,恢复出来数据文件，然后进行dbv检查<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/05/20220510130244.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2022/05/20220510130244.jpg" alt="20220510130244" width="950" height="198" class="alignnone size-full wp-image-9694" /></a><br />
<a href="https://www.xifenfei.com/wp-content/uploads/2022/05/20220507125013.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2022/05/20220507125013.jpg" alt="20220507125013" width="663" height="330" class="alignnone size-full wp-image-9690" /></a><br />
<hr />
后续的操作比较简单,使用oracle dul恢复出来按照类似方法:<a href="https://www.xifenfei.com/?p=4136" title="dul恢复drop表测试" rel="noopener" target="_blank">dul恢复drop表测试</a> 数据即可,业务进行核对即可.如果你遭遇到此类情况,而且无有效备份,尽可能保护现场(不要对asm/文件系统系统进行写入操作)，然后联系我们进行处理,最大限度恢复数据</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/09/drop-tablespace-xxx-including-contents-recovery.html" rel="bookmark" class="crp_title">drop tablespace xxx including contents恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/04/win-fs-corruption-recovery.html" rel="bookmark" class="crp_title">win文件系统损坏oracle恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/07/ora-702_recovery-tool.html" rel="bookmark" class="crp_title">ORA-00702一键恢复工具</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/07/delete-partition-oracle-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/06/ora-01110-ora-17070-osd-04006.html" rel="bookmark" class="crp_title">ORA-01110 ORA-17070 OSD-04006 故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/12/crs-2674-root-sh-failed.html" rel="bookmark" class="crp_title">RAC节点时间间隔过大导致执行root.sh不成功</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/11/sql-error-5172.html" rel="bookmark" class="crp_title">数据库附加失败 错误5172</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/07/mysql-ibd-undelete-error-recovery.html" rel="bookmark" class="crp_title">mysql ibd文件反删除恢复之后异常处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/01/mallox-db-recovery.html" rel="bookmark" class="crp_title">.mallox加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/02/decrypt20firemail-cc-eking.html" rel="bookmark" class="crp_title">.[decrypt20@firemail.cc].eking 数据库勒索恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/07/makop-ora-recovery.html" rel="bookmark" class="crp_title">oracle文件勒索恢复工具&#8212;.makop病毒恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2022/10/oracle-drop-tablespace-ultimate-recovery.html" rel="bookmark" class="crp_title">oracle drop tablespace 恢复最后一招</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2022/05/asm-drop-tbs-recovery.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
