expdp ora-31640 ora-19505

[email protected]:/oraapp/oracle/backup>impdp \‘/ as sysdba\‘ directory=DB_BACKUP dumpfile=newdb.20140918.dmp logfile=newdb_0919.log parallel=4 c>

Import: Release 11.2.0.3.0 - Production on Fri Sep 19 11:27:12 2014

Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,

Data Mining and Real Application Testing options

Master table "SYS"."SYS_IMPORT_FULL_04" successfully loaded/unloaded

Starting "SYS"."SYS_IMPORT_FULL_04":  "/******** AS SYSDBA" directory=DB_BACKUP dumpfile=newdb.20140918.dmp logfile=newdb_0919.log parallel=4 content=all full=y

Processing object type SCHEMA_EXPORT/USER

Processing object type SCHEMA_EXPORT/SYSTEM_GRANT

Processing object type SCHEMA_EXPORT/ROLE_GRANT

Processing object type SCHEMA_EXPORT/DEFAULT_ROLE

Processing object type SCHEMA_EXPORT/TABLESPACE_QUOTA

Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA

Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE

Processing object type SCHEMA_EXPORT/TABLE/TABLE

Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA

ORA-31693: Table data object "H1"."TRDX_FEE_TABLE" failed to load/unload and is being skipped due to error:

ORA-31640: unable to open dump file "/oraapp/oracle/backup/newdb.20140918.dmp" for read

ORA-19505: failed to identify file "/oraapp/oracle/backup/newdb.20140918.dmp"

ORA-27037: unable to obtain file status

IBM AIX RISC System/6000 Error: 2: No such file or directory

Additional information: 3

ORA-31693: Table data object "H1"."TRDX_Q" failed to load/unload and is being skipped due to error:

ORA-31640: unable to open dump file "/oraapp/oracle/backup/newdb.20140918.dmp" for read

ORA-19505: failed to identify file "/oraapp/oracle/backup/newdb.20140918.dmp"

ORA-27037: unable to obtain file status

IBM AIX RISC System/6000 Error: 2: No such file or directory

Additional information: 3

ORA-31693: Table data object "H1"."TRDX_OI" failed to load/unload and is being skipped due to error:

ORA-31640: unable to open dump file "/oraapp/oracle/backup/newdb.20140918.dmp" for read

ORA-19505: failed to identify file "/oraapp/oracle/backup/newdb.20140918.dmp"

ORA-27037: unable to obtain file status

IBM AIX RISC System/6000 Error: 2: No such file or directory

Additional information: 3

ORA-31693: Table data object "H1"."TRDX_Q" failed to load/unload and is being skipped due to error:

ORA-31640: unable to open dump file "/oraapp/oracle/backup/newdb.20140918.dmp" for read

ORA-19505: failed to identify file "/oraapp/oracle/backup/newdb.20140918.dmp"

ORA-27037: unable to obtain file status

IBM AIX RISC System/6000 Error: 2: No such file or directory

Additional information: 3

Import> exit

SQL> select * from v$version;

BANNER

--------------------------------------------------------------------------------

Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

PL/SQL Release 11.2.0.3.0 - Production

CORE    11.2.0.3.0      Production

TNS for IBM/AIX RISC System/6000: Version 11.2.0.3.0 - Production

NLSRTL Version 11.2.0.3.0 - Production

SQL>

使用expdp导入数据到Rac环境,parallel 并行为4,发现导入报以上错误,分析发现Rac环境使用并行导入时会尝同时写数据库到两个节点,如果目录在本地磁盘,

则导入时候会报此错误。(导出时也存在此问题)

解决办法是在导出导入的时候加上cluster参数等于N进行单节点导入操作。

即:impdp \‘/ as sysdba\‘   directory=db_backup dumpfile=newdb.dmp logfile=newdb.log  parallel=4 content=all full=y cluster=n

. . imported "H1"."TRDX_OC"     5.950 MB   60692 rows

. . imported "H1"."TRDX_Q"         4.643 MB   15728 rows

ORA-31693: Table data object "H1"."TRDX_P" failed to load/unload and is being skipped due to error:

ORA-02354: error in exporting/importing data

ORA-12081: update operation not allowed on table "H1"."TRDX_P"

. . imported "H1"."TRDX_QU"         5.687 MB   18639 rows

ORA-31693: Table data object "H1"."TRDX_HL" failed to load/unload and is being skipped due to error:

ORA-02354: error in exporting/importing data

ORA-12081: update operation not allowed on table "H1"."TRDX_HLD"

. . imported "H1"."TRDX_API_TX"           5.079 MB   48360 rows

. . imported "H1"."TRDX_DE"     4.361 MB   91505 rows

ORA-31693: Table data object "H1"."TRDX_ASSE" failed to load/unload and is being skipped due to error:

ORA-02354: error in exporting/importing data

ORA-12081: update operation not allowed on table "H1"."TRDX_ASSET"

导入的同时出现以上错误,根据Mos [Doc 1270847.1]描述是由于这些表上存在物化视图,建议使用TABLE_EXISTS_ACTION=APPEND参数导入数据;

此参数默认是SKIP。

时间: 2024-10-27 14:20:11

expdp ora-31640 ora-19505的相关文章

expdp报错ora 39126

11.2.0.2,expdp报错: ORA-39126: Worker unexpected fatal error in KUPW$WORKER.GET_TABLE_DATA_OBJECTS []ORA-31642: the following SQL statement fails:BEGIN "SYS"."DBMS_CUBE_EXP".SCHEMA_CALLOUT(:1,0,1,'11.02.00.00.00'); END;ORA-06512: at &quo

ORACLE RAC 下非缺省端口监听配置(listener.ora tnsnames.ora)

不论是单实例还是RAC,对于非缺省端口下(1521)的监听器,pmon进程不会将service/instance注册到监听器,即不会实现动态注册.与单实例相同,RAC非缺省端口的监听器也是通过设置参数local_listener来达到目的.除此之外,还可以对实例进行远程注册,以达到负载均衡的目的.这是通过一个参数remote_listener来实现. 有关Oracle 网络配置相关基础以及概念性的问题请参考:      配置ORACLE 客户端连接到数据库   配置非默认端口的动态服务注册   

(转)认识oracle中的sqlnet.ora tnsnames.ora listener.ora三个文件

概述 在oracle安装目录$HOME/network/admin下,,经常看到sqlnet.ora tnsnames.ora listener.ora这三个文件,除了tnsnames.ora,其他两个文件详细的用途很多人都不太了解.sqlnet.ora 用在oracle client端,用于配置连接服务端oracle的相关参数. tnsnames.ora 用在oracle client端,用户配置连接数据库的别名参数,就像系统中的hosts文件一样.listener.ora 用在oracle

oracle的listener.ora sqlnet.ora tnsnames.ora三个文件的关联性

学习:http://www.cnblogs.com/william-lee/archive/2010/10/20/1856261.html 之前因为安装的是windows server 2008 r2的系统,oracle是11g r2 64bit,因为像很多网友一样,无法使用pl/sql developer 8连接oracle,今天可算连上了,对listener.ora sqlnet.ora tnsnames.ora三个文件.TNSListener服务的认识也深了一层. 先说说我是怎么样连接上的

listener.ora/sqlnet.ora/tnsnames.ora配置文件详解

oracle网络配置 三个配置文件 listener.ora.sqlnet.ora.tnsnames.ora ,都是放在$ORACLE_HOME/network/admin目录下. 英文说明: The sqlnet.ora is an optional file expressing more parameters about the connection (eg: the trace level for debugging, the types of authentication you wo

oracle的sqlnet.ora , tnsnames.ora , Listener.ora 文件的作用(转)

oracle网络配置三个配置文件 listener.ora.sqlnet.ora.tnsnames.ora ,都是放在$ORACLE_HOME/network/admin目录下.1. sqlnet.ora-----作用类似于linux或者其他unix的nsswitch.conf文件,通过这个文件来决定怎么样找一个连接中出现的连接字符串.例如我们客户端输入sqlplus sys/[email protected]假如我的sqlnet.ora是下面这个样子SQLNET.AUTHENTICATION_

oracle的sqlnet.ora,tnsnames.ora,listener.ora三个配置文件

总结:1 .三个配置文件都是放在$ORACLE_HOME\network\admin目录下.2 .sqlnet.ora确定解析方式3 .listener.ora上设SID_NAME,通常用于JDBC访问,对应的错误码为125054 .tnsnames.ora上设SERVICE_NAME,通常用于linux sqlplus客户端,对应的错误码为12514 sqlnet.ora 作用类似于linux或者其他unix的 nsswitch.conf文件,通过这个文件来决定怎么样找一个连接中出现的连接字符

ORACLE RAC 监听配置 (listener.ora tnsnames.ora)

Oracle RAC 监听器的配置与单实例稍有不同,但原理和实现方法基本上是相同的.在Oracle中 tns进程用于为指定网络地址上的一个或多个Oracle 实例提供服务注册,并响应来自客户端对该服务提出的连接请求.一旦连接请求到达,并派生出一个服务器进程建立服务器与用户端之间的连接(专有服务器dedicated server)或转发服务请求(共享服务器模式shared server).如果监听器知道多于一个实例提供所请求的服务,则可能会根据客户端与服务器端相关配置将请求定位到较低负载的实例为其

tnsnames.ora配置小结

oracle网络配置 三个配置文件 listener.ora.sqlnet.ora.tnsnames.ora ,都是放在$ORACLE_HOME/network/admin文件夹下. 1.  sqlnet.ora-–作用类似于linux或者其它unix的nsswitch.conf文件.通过这个文件来决定怎么样找一个连接中出现的连接字符串. 比如我们client输入 sqlplus sys/[email protected] 假如我的sqlnet.ora是以下这个样子 SQLNET.AUTHENT

listener.ora 、sqlnet.ora 、tnsnames.ora的关系以及手工配置

listener.ora.sqlnet.ora.tnsnames.ora ,都是放在$ORACLE_HOME\network\admin目录下. --begin 重点:三个文件的作用和使用 #----------------------- sqlnet.ora(客户及服务器端) --作用类似于linux或者其他unix的nsswitch.conf文件,通过这个文件来决定怎么样找一个连接中出现的连接字符串, 例如我们客户端输入 sqlplus sys/[email protected] 假如我的s