【問題解決】ORA-39112: Dependent object type INDEX_STATISTICS skipped

在用使用oracle數據泵導入指定數據時候報了一個這樣的錯誤,網上了很久也沒解決的方法,於是自己琢磨一下後就解決了,希望能夠幫助遇到同樣問題的小夥伴,但不能保證能對你們一定有作用,僅供參考,覺得不錯點個贊

oracle版本爲11g       windows7服務端操作

具體報錯信息如下:

Microsoft Windows [版本 6.1.7601]
版權所有 (c) 2009 Microsoft Corporation。保留所有權利。

C:\Users\Administrator.USER-20190408KO>e:

E:\>cd E:\work\develop\oracle11g_11_2_0\product\11.2.0\dbhome_1\BIN

E:\work\develop\oracle11g_11_2_0\product\11.2.0\dbhome_1\BIN>impdp szzxs/szzxs@1
27.0.0.1:1521/orcl directory=bigdata dumpfile=WSDTRDG23123.dmp REMAP_TABL
ESPACE=RESMG:SZZXSPACE remap_schema=lwsys:szzxs table_exists_action=replace

Import: Release 11.2.0.1.0 - Production on Thu Oct 31 14:07:03 2019

Copyright (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
ORA-39146: schema "LWSYS" does not exist
Master table "SZZXS"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SZZXS"."SYS_IMPORT_FULL_01":  szzxs/********@127.0.0.1:1521/orcl direc
tory=bigdata dumpfile=WSDTRDG23123.dmp REMAP_TABLESPACE=RESMG:SZZXSPACE r
emap_schema=lwsys:szzxs table_exists_action=replace
Processing object type TABLE_EXPORT/TABLE/TABLE
Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
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
ORA-39112: Dependent object type INDEX_STATISTICS skipped, base object type INDE
X:"RESMG"."WSDTRDG23123_INS" creation failed
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
Job "SZZXS"."SYS_IMPORT_FULL_01" completed with 7 error(s) at 14:07:06

解決辦法:
      新建一個RESMG的用戶進行目錄授權後,再把需要數據重新導入到此用戶下就解決了~

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章