- 最后登录
- 2016-11-23
- 在线时间
- 34 小时
- 威望
- 11
- 金钱
- 258
- 注册时间
- 2012-7-17
- 阅读权限
- 10
- 帖子
- 64
- 精华
- 0
- 积分
- 11
- UID
- 620
|
1#
发表于 2013-1-17 14:13:34
|
查看: 10535 |
回复: 3
本帖最后由 wengtf 于 2013-1-17 14:17 编辑
env:oracle 11.2.0.1 on solaris 10 sparc 64bit
impdp/expdp 语句及参数:
expdp \'sys/passwd as sysdba\' schemas=xxx directory=DATA_PUMP_DIR dumpfile=expdp_xxx_structure_20130116.dmp logfile=expdp_xxx_structure_20130116.log content=metadata_only show=y
impdp\'sys/passwd as sysdba\' schemas=xxx directory=DATA_PUMP_DIR dumpfile=expdp_xxx_structure_20130116.dmp logfile=impdp_xxx_structure_20130117.log content=metadata_only show=y
describle: 从local database expdp 导出了仅结构,然后到 在target database impdp的出现下面关键的几个报错:
ORA-39082 ,ORA-39083:package编译出错
ora-04052,ora-00604,ora-02019:此次impdp没有加network_link参数
- Import: Release 11.2.0.1.0 - Production on Wed Jan 16 15:09:40 2013Copyright (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 "SYS"."SYS_IMPORT_SCHEMA_02" successfully loaded/unloaded
- Starting "SYS"."SYS_IMPORT_SCHEMA_02": "sys/******** AS SYSDBA" schemas=xxx directory=DATA_PUMP_DIR dumpfile=expdp_NAIAWII_stucture_20130116.dmp logfile=impdp_NAIAWII_stucture_20130116.log content=metadata_only
- 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/DB_LINK
- Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
- Processing object type SCHEMA_EXPORT/TABLE/TABLE
- Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
- 。。。。。
- ORA-39082: Object type PACKAGE_BODY:"NAIAWII"."PKG_CHO200909017" created with compilation warnings
- ORA-39083: Object type PACKAGE_BODY failed to create with error:
- ORA-04052: error occurred when looking up remote object NGMC058.DCMS_MP@LK_CPDWH01
- ORA-00604: error occurred at recursive SQL level 3
- ORA-02019: connection description for remote database not found
- Failing sql is:
- ALTER PACKAGE "NAIAWII"."PKG_CHO201002009" COMPILE BODY PLSQL_OPTIMIZE_LEVEL= 2 PLSQL_CODE_TYPE= INTERPRETED PLSQL_DEBUG= TRUE PLSCOPE_SETTINGS= 'IDENTIFIERS:NONE' REUSE SETTINGS TIMESTAMP '2012-04-19 16:22:07'
- ORA-39082: Object type PACKAGE_BODY:"NAIAWII"."PKG_CHO201002015" created with compilation warnings
- ORA-39082: Object type PACKAGE_BODY:"NAIAWII"."PKG_CHO201003020" created with compilation warnings
- ORA-39082: Object type PACKAGE_BODY:"NAIAWII"."PKG_CHO201008016" created with compilation warnings
- ORA-39082: Object type PACKAGE_BODY:"NAIAWII"."PKG_CHO201108010" created with compilation warnings
- ORA-39082: Object type PACKAGE_BODY:"NAIAWII"."PKG_TESTPER01" created with compilation warnings
- Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
- Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
- Processing object type SCHEMA_EXPORT/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
- Processing object type SCHEMA_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
- Processing object type SCHEMA_EXPORT/MATERIALIZED_VIEW
- Job "SYS"."SYS_IMPORT_SCHEMA_02" completed with 2445 error(s) at 15:23:58
复制代码 |
|