今天在做expdp测试时出现如下错误:
D:\ oracle \product\10.1.0\db_1\BIN>expdp test/test@bright parfile=c:\exp.par
Export: Release 10.1.0.2.0 - Production on 星期二, 26 2月, 2008 14:45
Copyright (c) 2003, oracle . All rights reserved.
连接到: oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
自动启用 FLASHBACK 以保持数据库完整性。
启动 “TEST”.”SYS_EXPORT_SCHEMA_06″: test/********@bright parfile=c:\exp.par
正在使用 BLOCKS 方法进行估计…
处理对象类型 SCHEMA_EXPORT/TABLE/TABLE_DATA
使用 BLOCKS 方法的总估计: 24.25 MB
处理对象类型 SCHEMA_EXPORT/USER
处理对象类型 SCHEMA_EXPORT/SYSTEM_GRANT
处理对象类型 SCHEMA_EXPORT/ROLE_GRANT
处理对象类型 SCHEMA_EXPORT/DEFAULT_ROLE
处理对象类型 SCHEMA_EXPORT/SE_PRE_SCHEMA_PROCOBJACT/PROCACT_SCHEMAUDE-00008: 操作产生了 oracle 错误 31626
ORA-31626: 作业不存在
ORA-06512: 在 “SYS.DBMS_DATAPUMP”, line 2315
ORA-06512: 在 “SYS.DBMS_DATAPUMP”, line 3185
ORA-06512: 在 line 1
检查alert log发现如下错误:
Errors in file d:\ oracle \product\10.1.0\admin\bright\bdump\bright_cjq0_2916.trc:
ORA-00604: ?? SQL ?? 1 ????
ORA-04031: ???? 4096 ??????? (”shared pool”,”select job, nvl2(last_date, …”,”sql area”,”kgghteInit”)Tue Feb 26 15:01:17 2008
Errors in file d:\ oracle \product\10.1.0\admin\bright\bdump\bright_q000_3088.trc:
ORA-00604: 递归 SQL 级别 1 出现错误
ORA-04031: 无法分配 4096 字节的共享内存 (”shared pool”,”select obj#,type#,ctime,mtim…”,”sql area”,”kgghteInit”)Tue Feb 26 15:05:29 2008
Errors in file d:\ oracle \product\10.1.0\admin\bright\bdump\bright_q002_3164.trc:
ORA-04031: 无法分配 4096 字节的共享内存 (”shared pool”,”select user#,type# from user…”,”sql area”,”kgghteInit”)Tue Feb 26 15:05:29 2008
Errors in file d:\ oracle \product\10.1.0\admin\bright\bdump\bright_smon_2448.trc:
ORA-00604: ?? SQL ?? 1 ????
ORA-04031: ???? 4096 ??????? (”shared pool”,”insert into smon_scn_time (t…”,”sql area”,”kgghteInit”)
看这信息,估计是shared pool设置太小造成的,原因是在用expdp导出时,需要获得所有需导出的对象,这样就有可能导致shared pool不够用。因为是在自己PC上做的测试,内存本来就小,而分配给shared pool的也小,故出现这个错误,解决的方法是加大shared pool size或者改成SGA自动管理,问题解决!
No Comments
Be the first to comment on this entry.
Leave a comment
Fields in bold are required. Email addresses are never published or distributed.
Some HTML code is allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>URLs must be fully qualified (eg: http://www.dbifan.com),and all tags must be properly closed.
Line breaks and paragraphs are automatically converted.
Please keep comments relevant. Off-topic, offensive or inappropriate comments may be edited or removed.