ORA-39151分析

今天在导数据时出现  ORA-39151: Table "CX"."CX_CXZL" exists. All dependent metadata and data will be skipped due to table_exists_action of skip的错误,在导入语句的后面已经加了 TABLE_EXISTS_ACTION=TRUNCATE,为什么还是table存在,然后跳过呢!!

仔细观察,发现我的语句被分成了两半,实际上 ORA-39151是由上一半产生的,impdp system/11123 DIRECTORY=DP_DIR dumpfile=20141119_cx_NHLTGN.dmp logfile=imp20141119_cx_NHLTGN.log  而后一半则在后面无法识别执行。。可能是tables之前多了回车,将tables 往前移动就解决问题了

gdstdb01:/home/oracle$impdp system/11123 DIRECTORY=DP_DIR dumpfile=20141119_cx_NHLTGN.dmp logfile=imp20141119_cx_NHLTGN.log 

Import: Release 11.2.0.3.0 - Production on Thu Nov 20 08:43:46 2014


Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
tables=CX.CX_CXDY,CX.CX_CXTJDY,CX.CX_CXJGDY,CX.CX_CXZL,CX.CX_SZXX,CX.CX_LXX,CX.CX_FZYJB,CX.CX_YHTJ TABLE_EXISTS_ACTION=TRUNCATE



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 "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01":  system/******** DIRECTORY=DP_DIR dumpfile=20141119_cx_NHLTGN.dmp logfile=imp20141119_cx_NHLTGN.log 
Processing object type TABLE_EXPORT/TABLE/TABLE
ORA-39151: Table "CX"."CX_CXZL" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "CX"."CX_CXTJDY" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "CX"."CX_CXJGDY" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "CX"."CX_LXX" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "CX"."CX_SZXX" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "CX"."CX_YHTJ" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "CX"."CX_FZYJB" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
ORA-39151: Table "CX"."CX_CXDY" exists. All dependent metadata and data will be skipped due to table_exists_action of skip
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
Processing object type TABLE_EXPORT/TABLE/COMMENT
Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 8 error(s) at 08:43:50


gdstdb01:/home/oracle$
gdstdb01:/home/oracle$tables=CX.CX_CXDY,CX.CX_CXTJDY,CX.CX_CXJGDY,CX.CX_CXZL,CX.CX_SZXX,CX.CX_LXX,CX.CX_FZYJB,CX.CX_YHTJ TABLE_EXISTS_ACTION=TRUNCATE
gdstdb01:/home/oracle$



来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/29863023/viewspace-1340311/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/29863023/viewspace-1340311/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值