expdp导出表结构报错:
$ expdp \'/ as sysdba\' parfile=expdp_yuansj_20211027.par
Export: Release 11.2.0.4.0 - Production on Wed Oct 27 11:18:40 2021
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, Real Application Clusters and Automatic Storage Management options
ORA-39001: invalid argument value #无效参数值
ORA-39178: cannot perform estimate on metadata only jobs #无法对仅元数据的作业执行估计
原因:
在导出的参数文件中添加了以下参数:
ESTIMATE=statistics
元数据不能做统计信息所以会导致该报错
解决:
在导出参数中删除该参数:ESTIMATE=statistics
或排除统计信息参数:EXCLUDE=statistics