<?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; expdp network_link</title>
	<atom:link href="https://www.xifenfei.com/tag/expdp-network_link/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>datapump network_link遭遇ORA-12899错误</title>
		<link>https://www.xifenfei.com/2021/06/datapump-network_link-ora-12899.html</link>
		<comments>https://www.xifenfei.com/2021/06/datapump-network_link-ora-12899.html#comments</comments>
		<pubDate>Wed, 16 Jun 2021 05:23:08 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[逻辑备份/恢复]]></category>
		<category><![CDATA[expdp network_link]]></category>
		<category><![CDATA[impdp network_link]]></category>
		<category><![CDATA[ORA-12899]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=9325</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2021/06/datapump-network_link-ora-12899.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/06/datapump-network_link-ora-12899.html" target="_blank">datapump network_link遭遇ORA-12899错误</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>在给一个客户使用expdp+network_link导出数据,然后通过impdp导入数据的过程中遇到ORA-12899问题.<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210608215836.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210608215836.png" alt="20210608215836" width="880" height="479" class="alignnone size-full wp-image-9326" /></a><br />
<hr />
对原库和现在库进行分析<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210608215825.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210608215825.png" alt="20210608215825" width="880" height="550" class="alignnone size-full wp-image-9327" /></a><br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210608215817.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210608215817.png" alt="20210608215817" width="927" height="300" class="alignnone size-full wp-image-9328" /></a><br />
<hr />
原库和目标库表结构一致,原库该表存储数据实际长度确实为1,但是在impdp导入的时候提示需要长度为3.通过分析,确认原库的nls_length_semantics参数设置为char了,直接使用impdp+network_link不落地方式导入该表数据成功<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2021/06/20210608215845.png"><img src="https://www.xifenfei.com/wp-content/uploads/2021/06/20210608215845.png" alt="20210608215845" width="1726" height="312" class="alignnone size-full wp-image-9329" /></a><br />
<hr />
根据上述情况,查询相关文档,确认类似记录为:<br />
ORA-12899 When Using IMPDP Over Network Link (Doc ID 414901.1)<br />
ORA-26059 During Impdp Using Export Dump Taken With NETWORK_LINK Option (Doc ID 2266956.1)<br />
虽然都不是完全匹配该问题,但是基本上可以确认expdp的network_link和nls_length_semantics参数是引起该问题的根本原因,在后续的迁移中,尽量保持nls_length_semantics参数一致.</p>
<div id="crp_related"><ul><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/2021/03/star-newemail-tg-devos.html" rel="bookmark" class="crp_title">[star-new@email.tg].Devos加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/10/makop-recovery.html" rel="bookmark" class="crp_title">.makop加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/12/40t-blackmail-oracle-recovery.html" rel="bookmark" class="crp_title">40T勒索加密Oracle数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/12/lockbit-recovery-xmltype.html" rel="bookmark" class="crp_title">LockBit病毒oracle数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/05/sqlplus-segmentation-fault.html" rel="bookmark" class="crp_title">sqlplus 报 Segmentation Fault故障分析</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/08/security-vulnerability-scanning.html" rel="bookmark" class="crp_title">安全漏洞扫描结果让人无语</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/03/eking-db-recovery.html" rel="bookmark" class="crp_title">.eking扩展名数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/08/oracle-21c-mandatory-use-of-cdb.html" rel="bookmark" class="crp_title">Oracle 21c强制使用cdb模式</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/11/rename-datafile-name-recovery.html" rel="bookmark" class="crp_title">数据库文件被勒索改名数据库恢复&#8212;LOCK2G</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/01/incaseformat-recovery.html" rel="bookmark" class="crp_title">incaseformat 病毒删除文件恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/10/ransomware-recovery-db-202110.html" rel="bookmark" class="crp_title">最近几种勒索病毒加密数据库可完美恢复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2021/06/datapump-network_link-ora-12899.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
