执行expdp过程中,日志出现以下问题:
$ expdp system/xxxx directory=DATA_PUMP_DIR SCHEMAS=OKEAS DUMPFILE=20230419.DMP EXCLUDE=STATISTICS
Export: Release 11.2.0.4.0 - Production on Wed Apr 19 10:05:15 2023
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 "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** directory=DATA_PUMP_DIR SCHEMAS=OKEAS DUMPFILE=20230419.DMP EXCLUDE=STATISTICS
Estimate in progress using BLOCKS method...
Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
Total estimation using BLOCKS method: 12.06 GB
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/PRE_SCHEMA/PROCACT_SCHEMA
Processing object type SCHEMA_EXPORT/TABLE/TABLE
Processing object type SCHEMA_EXPORT/FUNCTION/FUNCTION
Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
Processing object type SCHEMA_EXPORT/FUNCTION/ALTER_FUNCTION
Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX
Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
Processing object type SCHEMA_EXPORT/VIEW/VIEW
. . exported "OKEAS"."T_PM_USERORGPERM" 2.159 GB 14975668 rows
. . exported "OKEAS"."T_LOG_APP" 837.5 MB 2724446 rows
. . exported "OKEAS"."T_WFR_PROCINSTDATA" 26.10 MB 348 rows
. . exported "OKEAS"."T_FA_FAMONCARD" 558.9 MB 629907 rows
......
ORA-31693: Table data object "OKEAS"."VTZ13F7C1V1RS150YP0EKQ345AJE" failed to load/unload and is being skipped due to error:
ORA-02354: error in exporting/importing data
ORA-39826: Direct path load of view or synonym (OKEAS.VTZ13F7C1V1RS150YP0EKQ345AJE) could not be resolved.
. . exported "OKEAS"."VTZ13F7C1V1V44JBXVFQ51390RXE" 18.66 KB 49 rows
......
问题原因:
因为这个对象在导出过程中被删掉了导致的bug,登录数据库,确实查询不到该对象的存在。
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28538954/viewspace-2946858/ ,如需转载,请注明出处,否则将追究法律责任。