<?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-14102</title>
	<atom:link href="https://www.xifenfei.com/tag/ora-14102/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>impdp报ORA-39083 ORA-14102错误处理</title>
		<link>https://www.xifenfei.com/2026/05/ora-39083-ora-14102.html</link>
		<comments>https://www.xifenfei.com/2026/05/ora-39083-ora-14102.html#comments</comments>
		<pubDate>Tue, 12 May 2026 09:32:02 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[逻辑备份/恢复]]></category>
		<category><![CDATA[ORA-14102]]></category>
		<category><![CDATA[ORA-39083 ORA-14102]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=12156</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2026/05/ora-39083-ora-14102.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/2026/05/ora-39083-ora-14102.html" target="_blank">impdp报ORA-39083 ORA-14102错误处理</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>最近两次遇到impdp 报 ORA-39083 ORA-14102错误</p>
<pre class="brush: bash; title: ; notranslate">
[oracle@localhost tmp]$ impdp &quot;'/as sysdba'&quot; directory=expdp_dir  full=y dumpfile=1.dmp 

Import: Release 11.2.0.1.0 - Production on Mon May 11 20:57:00 2026

Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table &quot;SYS&quot;.&quot;SYS_IMPORT_FULL_01&quot; successfully loaded/unloaded
Starting &quot;SYS&quot;.&quot;SYS_IMPORT_FULL_01&quot;:  &quot;/******** AS SYSDBA&quot; directory=expdp_dir full=y dumpfile=1.dmp
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-39083: Object type TABLE:&quot;AAA&quot;.&quot;XXXXX&quot; failed to create with error:
ORA-14102: only one LOGGING or NOLOGGING clause may be specified
Failing sql is:
CREATE TABLE &quot;AAA&quot;.&quot;XXXX&quot; (&quot;OBJECT_ID&quot; NUMBER(9,0) NOT NULL ENABLE, &quot;OBJECT_TYPE&quot; VARCHAR2(8 BYTE) NOT NULL ENABLE
……………………
</pre>
<p>这个错误比较明显由于AAA.XXXX表的创建语句中有多于一个LOGGING or NOLOGGING,从而导致该创建语句无法正常创建表.</p>
<pre class="brush: bash; title: ; notranslate">
[oracle@iZbp11c0qyuuo1gr7j98upZ ~]$ oerr ora 14102
14102, 00000, &quot;only one LOGGING or NOLOGGING clause may be specified&quot;
// *Cause: LOGGING was specified more than once, NOLOGGING was specified
//         more than once, or both LOGGING and NOLOGGING were specified.
// *Action: Remove all but one of the LOGGING or NOLOGGING clauses and
//          reissue the statement.
</pre>
<p>查看该表对应的expdp导出日志</p>
<pre class="brush: bash; title: ; notranslate">
[oracle@xff expdmp]$ expdp &quot;'/as sysdba'&quot;  tables=&quot;AAA&quot;.&quot;XXXX&quot; dumpfile=1.dmp compression=all EXCLUDE=STATISTICS,AUDIT  

Export: Release 11.2.0.4.0 - Production on Mon May 11 21:01:06 2026

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  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
Starting &quot;SYS&quot;.&quot;SYS_EXPORT_TABLE_01&quot;:  tables=AAA.XXXX dumpfile=1.dmp compression=all EXCLUDE=STATISTICS,AUDIT 
Estimate in progress using BLOCKS method...
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 3.207 GB
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
. . exported &quot;AAA&quot;.&quot;XXXX&quot;:&quot;F_GTG&quot;            5.430 MB  968776 rows
. . exported &quot;AAA&quot;.&quot;XXXX&quot;:&quot;F_CONS&quot;           4.734 MB  920007 rows
…………
</pre>
<p>比较明显AAA.XXXX表是一个分区表,而且是从11.2.0.4中导出,然后准备导入到11.2.0.1版本数据库中.通过DBMS_METADATA.get_ddl来获取该表的ddl语句确实有多个LOGGING/NOLOGGING(主要是每个分区都有NOLOGGING)</p>
<pre class="brush: sql; title: ; notranslate">
SET ECHO OFF
SET PAGESIZE 0
SET LINES 3000
SET LONG 200000
SET FEEDBACK OFF
SET HEADING OFF
SET SERVEROUTPUT ON SIZE 1000000
COLUMN TXT FORMAT A3000 WORD_WRAPPED
SQL&gt; SQL&gt; SELECT DBMS_METADATA.GET_DDL('TABLE','XXXX','AAA') TXT FROM DUAL;

  CREATE TABLE &quot;AAA&quot;.&quot;XXXX&quot;
   (	&quot;OBJECT_ID&quot; NUMBER(9,0) NOT NULL ENABLE,
	&quot;OBJECT_TYPE&quot; VARCHAR2(8) NOT NULL ENABLE,
	&quot;DL_TYPE&quot; VARCHAR2(8) NOT NULL ENABLE,
        ………………
 	CONSTRAINT &quot;PK_OBJECT_DL_DEF&quot; PRIMARY KEY (&quot;OBJECT_ID&quot;, &quot;OBJECT_TYPE&quot;, &quot;DL_TYPE&quot;)
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOLOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE &quot;USERS&quot;  ENABLE
   ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255  NOLOGGING
  STORAGE(
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE &quot;USERS&quot;
  PARTITION BY LIST (&quot;OBJECT_TYPE&quot;)
 (PARTITION &quot;F_SUBS&quot;  VALUES ('1') SEGMENT CREATION IMMEDIATE
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
 NOCOMPRESS NOLOGGING
  STORAGE(INITIAL 8388608 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
  BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE &quot;USERS&quot; ,
  ……………………
</pre>
<p>尝试在11.2.0.1环境中人工执行该sql创建表,直接报ORA-14020: 不能指定表分区的此物理属性错误<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/05/ora-14020.png"><img src="https://www.xifenfei.com/wp-content/uploads/2026/05/ora-14020.png" alt="ora-14020" width="698" height="199" class="alignnone size-full wp-image-12157" /></a><br />
<hr />
基于此基本上可以确认是由于11.2.0.1默认情况下不支持这样的语法,解决该问题的办法：<br />
1. 重新导出来expdp dmp,加上version=11.2.0.1参数<br />
2. impdp加上impdp TRANSFORM参数TRANSFORM=segment_attributes:n进行导入(<a href="https://www.xifenfei.com/2021/12/impdp-transform.html" title="impdp TRANSFORM参数" rel="noopener" target="_blank">impdp TRANSFORM参数</a>)</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/01/impdp-create-index-ora-00942.html" rel="bookmark" class="crp_title">impdp 创建index提示ORA-00942: table or view does not exist</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2013/07/oracle-12c-%e5%9c%a8datapump%e6%96%b9%e9%9d%a2%e5%a2%9e%e5%bc%ba%e5%8f%82%e6%95%b0.html" rel="bookmark" class="crp_title">ORACLE 12C 在datapump方面增强参数</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/07/%e4%bd%bf%e7%94%a8copy%e5%ae%9e%e7%8e%b0long%e7%b1%bb%e5%9e%8b%e8%bd%ac%e7%a7%bb%e8%a1%a8%e7%a9%ba%e9%97%b4.html" rel="bookmark" class="crp_title">使用copy实现long类型转移表空间</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2015/10/exp-00104-datatype-binary_double-%e9%94%99%e8%af%af.html" rel="bookmark" class="crp_title">EXP-00104: datatype (BINARY_DOUBLE) 错误</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/05/%e4%bd%bf%e7%94%a8dbms_metadata-get_ddl%e5%87%ba%e7%8e%b0ora-31605%e9%94%99%e8%af%af.html" rel="bookmark" class="crp_title">使用dbms_metadata.get_ddl出现ORA-31605错误</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/11/data-pump-%e4%b8%adnetwork_link%e5%8f%82%e6%95%b0%e7%9a%84%e4%bd%bf%e7%94%a8.html" rel="bookmark" class="crp_title">Data pump 中network_link参数的使用</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/12/oracle-12c%e5%8f%af%e4%bb%a5%e9%80%9a%e8%bf%87expdp%e5%af%bc%e5%87%baview%e6%95%b0%e6%8d%ae.html" rel="bookmark" class="crp_title">ORACLE 12C可以通过expdp导出view数据</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2015/02/%e7%bb%99%e4%bd%a0%e7%9a%84dmp%e6%96%87%e4%bb%b6datapump%e5%8a%a0%e4%b8%8a%e5%af%86%e7%a0%81%e9%94%81.html" rel="bookmark" class="crp_title">给你的dmp文件(datapump)加上密码锁</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2013/08/oracle-12c-dbms_utility-expand_sql_text-%e6%9f%a5%e7%9c%8bsql%e8%a7%86%e5%9b%be%e5%9f%ba%e8%a1%a8.html" rel="bookmark" class="crp_title">ORACLE 12C dbms_utility.expand_sql_text 查看SQL视图基表</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2014/10/%e8%a7%a3%e5%86%b3ora-00701-object-necessary-for-warmstarting-database-cannot-be-altered%e9%94%99%e8%af%af.html" rel="bookmark" class="crp_title">bootstrap$核心index(I_OBJ1,I_USER1,I_FILE#_BLOCK#,I_IND1,I_TS#,I_CDEF1等)异常恢复&#8212;ORA-00701错误解决</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></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2026/05/ora-39083-ora-14102.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
