我们目前正在迁移到全新的服务器/ Oracle数据库,以升级我们的内存(RAM)。为了填充这个数据库,我们决定使用Oracle Data Pump功能并创建完整的平面导出文件而不会出错。
但是,在新数据库中导入时会返回以下错误:
Processing object type DATABASE_EXPORT/SCHEMA/JAVA_SOURCE/JAVA_SOURCE
Processing object type DATABASE_EXPORT/SCHEMA/JAVA_CLASS/JAVA_CLASS
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/FUNCTIONAL_AND_BITMAP/INDEX
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/STATISTICS/FUNCTIONAL_AND_BITMAP/INDEX_STATISTICS
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/DOMAIN_INDEX/INDEX
ORA-39083: Object type INDEX failed to create with error:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drueixe
ORA-04030: out of process memory when trying to allocate 40 bytes (kxs-heap-f,frame segment)
ORA-06512: at "CTXSYS.DRVUTL", line 17
ORA-06512: at "CTXSYS.DRVXMD", line 199
ORA-06512: at line 1
Failing sql is:
CREATE INDEX "SCHOWN"."CUSTOMER_ORDER_TIX" ON "SCHOWN"."CUSTOMER_ORDER_TAB" ("TEXT_ID$") INDEXTYPE IS "CT
ORA-39125: Worker unexpected fatal error in KUPW$WORKER.PUT_DDLS while calling DBMS_METADATA.CONVERT [INDEX:"SCHOWN"."TERM_TIX"]
ORA-06502: PL/SQL: numeric or value error
LPX-00210: expected '<' instead of 'ÿ'
ORA-04030: out of process memory when trying to allocate 4194328 bytes (pga heap,buf_kgcstate)
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.KUPW$WORKER", line 6377
----- PL/SQL Call Stack -----
object line object
handle number name
0000001ECACBEE08 15370 package body SYS.KUPW$WORKER
0000001ECACBEE08 6436 package body SYS.KUPW$WORKER
0000001ECACBEE08 12590 package body SYS.KUPW$WORKER
0000001ECACBEE08 3397 package body SYS.KUPW$WORKER
0000001ECACBEE08 7064 package body SYS.KUPW$WORKER
0000001ECACBEE08 1340 package body SYS.KUPW$WORKER
0000001EA04A22C0 2 anonymous block
Job "SYS"."SYS_IMPORT_SCHEMA_03" stopped due to fatal error at 18:40:14
我将尽快使用确切的导入语法更新此问题。 UPDATE:
impdp “/ as sysdba” dumpfile=staging_full.dmp schemas=SCHOWN directory=exp logfile=import_schown3.log
任何指导都会非常有帮助吗?
答案 0 :(得分:0)
这里的关键错误信息是:
ORA-04030:尝试分配4194328字节时进程内存不足(pga heap,buf_kgcstate)
数据库没有足够的内存来完成导入。这与盒子上的RAM量无关,而是与专门分配给Oracle的RAM量有关。这由Oracle 11g中的memory_target参数控制。
您运行的是哪个版本的Oracle?关于在此处详述的版本11.2中导入统计信息存在一个已知错误:
http://santoshnm.wordpress.com/2013/12/03/ora-04030-out-of-memory-during-import-datapump-impdp/
我觉得你可能会遇到这个问题。解决方法是排除统计信息并在导入后再次收集它们。尝试添加
EXCLUDE =统计
到你的参数文件,它可能会起作用。