<?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; PLS-00753: malformed or corrupted wrapped unit</title>
	<atom:link href="https://www.xifenfei.com/tag/pls-00753-malformed-or-corrupted-wrapped-unit/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>Sun, 22 Nov 2026 15:21:14 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>数据泵迁移Wrapped PLSQL之后报PLS-00753</title>
		<link>https://www.xifenfei.com/2024/06/datapump-pls-00753.html</link>
		<comments>https://www.xifenfei.com/2024/06/datapump-pls-00753.html#comments</comments>
		<pubDate>Tue, 04 Jun 2024 14:49:35 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[逻辑备份/恢复]]></category>
		<category><![CDATA[PLS-00753]]></category>
		<category><![CDATA[PLS-00753: malformed or corrupted wrapped unit]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=10786</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2024/06/datapump-pls-00753.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/2024/06/datapump-pls-00753.html" target="_blank">数据泵迁移Wrapped PLSQL之后报PLS-00753</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>记录一个oracle datapump迁移库遇到Wrapped PLSQL无效的Bug 18881811  Data Pump Import of Wrapped PLSQL Corrupts the Body（主要影响版本11.2.0.4/12.1.0.2）<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2024/06/bug-18881811.png"><img src="https://www.xifenfei.com/wp-content/uploads/2024/06/bug-18881811.png" alt="bug-18881811" width="907" height="893" class="alignnone size-full wp-image-10787" /></a><br />
<hr />
导入时提示:ORA-39082 Object type PACKAGE_BODY:created with compilation warnings.<br />
尝试编译对象提示</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; alter package xx.xx compile body;

Warning: Package Body altered with compilation errors.

SQL&gt; show error

PLS-00753: malformed or corrupted wrapped unit
</pre>
<p>由于涉及的package body 比较多,人工处理比较麻烦,采取临时解决方法<br />
1. drop 掉所有报错的package<br />
2. 使用exp导出所有的对象（rows=n）<br />
3. 使用imp导入<br />
4. 编译无效对象</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/04/%e4%bd%bf%e7%94%a8wrap%e5%8a%a0%e5%af%86plsql%e4%bb%a3%e7%a0%81.html" rel="bookmark" class="crp_title">使用wrap加密pl/sql代码</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2019/08/delete-wri_adv_sqlt_rtn_plan-error.html" rel="bookmark" class="crp_title">DELETE FROM wri$_adv_sqlt_rtn_planWHERE task_id = :tid AND exec_name = :execution_name</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/12/ora-39059-ora-39246.html" rel="bookmark" class="crp_title">expdp dmp 导出不完整导入ORA-39059 ORA-39246 故障抢救数据</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/05/distributed-storage-ora-00354-ora-00353.html" rel="bookmark" class="crp_title">分布式存储故障导致数据库无法启动故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/02/hudsonlcock-li-mkp-recovery.html" rel="bookmark" class="crp_title">.[hudsonL@cock.li].mkp勒索加密数据库完美恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/08/ora-600-kcvfdb_pdb_set_clean_scn-cleanckpt.html" rel="bookmark" class="crp_title">ORA-600 [kcvfdb_pdb_set_clean_scn: cleanckpt] 相关bug</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/01/mysql-hacked-recovery.html" rel="bookmark" class="crp_title">mysql数据库被黑恢复&#8212;应用层面delete删除</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/06/ora-39126-%e5%9c%a8-kupwworker-put_ddls-table_statistics-%e4%b8%ad-worker-%e5%8f%91%e7%94%9f%e6%84%8f%e5%a4%96%e8%87%b4%e5%91%bd%e9%94%99%e8%af%af.html" rel="bookmark" class="crp_title">ORA-39126: 在 KUPW$WORKER.PUT_DDLS [TABLE_STATISTICS] 中 Worker 发生意外致命错误</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2023/01/imp-00009.html" rel="bookmark" class="crp_title">IMP-00009: abnormal end of export file</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/10/%e9%87%8d%e5%bb%badbms_stats%e5%8c%85.html" rel="bookmark" class="crp_title">重建DBMS_STATS包</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/05/11-2-0-4-psu-service-not-start.html" rel="bookmark" class="crp_title">win 11.2.0.4打patch后服务无法正常启动处理</a></li><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></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2024/06/datapump-pls-00753.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
