上周某客户因异常断电导致lun,某个测试环境无法启动,客户只提供了一个1周前.dmp文件,需要在新环境中导入恢复,解决表空间和临时表空间问题后,导入报错如下
Import: Release 11.2.0.4.0 - Production on Thu Jul 6 07:47:51 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
ORA-39002: invalid operation
ORA-39168: Object path STATISTICS was not found.
处理办法:
在impdp参数中添加了EXCLUDE=STATISTICS,重新导入成功