0

0

Oracle 10g expdp导出报错ORA-4031的解决方法

php中文网

php中文网

发布时间:2016-06-07 16:47:37

|

2174人浏览过

|

来源于php中文网

原创

数据库是10.2.0.4 操作系统是aix,在执行expdp导出多个方案对象时报ORA-39014,ORA-39029,ORA-31671,ORA-39079,ORA-06512,ORA-0403

数据库是10.2.0.4 操作系统是aix,在执行expdp导出多个方案对象时报ora-39014,ora-39029,ora-31671,ora-39079,ora-06512,ora-04031:错误信息如下:
 export: release 10.2.0.4.0 - 64bit production on monday, 17 february, 2014 9:46:52
 
copyright (c) 2003, 2007, oracle. all rights reserved.
 ;;;
 connected to: oracle database 10g enterprise edition release 10.2.0.4.0 - 64bit production
 with the partitioning, olap, data mining and real application testing options
 starting "system"."sys_export_schema_01": system/******** directory=dump_rlzy dumpfile=ybcwfull_140217_0946.dmp logfile=ybcwfull_140217_0946.log schemas=zw
 1001,zw1002,zw1003,zw1004,zw1005,zw1006,zw1101,zw1102,zw1103,zw1104,zw1105,zw1106,zw1201,zw1202,zw1203,zw1204,zw1205,zw1206,zw1301,zw1302,zw1303,zw1304,zw13
 05,zw1306,zw2001,zw2002,zw2003,zw2004,zw2005,zw2006,zw3001,zw3002,zw3003,zw3004,zw3005,zw3006,zw4001,zw4002,zw4003,zw4004,zw4005,zw4006,zw5001,zw5002,zw5003
 ,zw5004,zw5005,zw5006,zw6001,zw6002,zw6003,zw6004,zw6005,zw6006,zw7001,zw7002,zw7003,zw7004,zw7005,zw7006,zw8001,zw8002,zw8003,zw8004,zw8005,zw8006,zw9001,z
 w9002,zw9003,zw9004,zw9005,zw9006,zw9999
 estimate in progress using blocks method...
 processing object type schema_export/table/table_data
 total estimation using blocks method: 997.3 mb
 processing object type schema_export/user
 processing object type schema_export/system_grant
 processing object type schema_export/role_grant
 processing object type schema_export/default_role
 processing object type schema_export/pre_schema/procact_schema
 processing object type schema_export/sequence/sequence
 processing object type schema_export/table/table
 processing object type schema_export/table/index/index
 processing object type schema_export/table/constraint/constraint
 processing object type schema_export/table/index/statistics/index_statistics
 processing object type schema_export/package/package_spec
 processing object type schema_export/function/function
 processing object type schema_export/procedure/procedure
 processing object type schema_export/package/compile_package/package_spec/alter_package_spec
 processing object type schema_export/function/alter_function
 processing object type schema_export/procedure/alter_procedure
 processing object type schema_export/view/view
 processing object type schema_export/package/package_body
 processing object type schema_export/table/constraint/ref_constraint
 processing object type schema_export/table/trigger
 processing object type schema_export/table/statistics/table_statistics
 ..................
 . . exported "zw9005"."glsp_kmys_temp" 0 kb 0 rows
 . . exported "zw9005"."glsp_kmzjs_temp" 0 kb 0 rows
 . . exported "zw9005"."glsp_kmzxfx_temp" 0 kb 0 rows
 . . exported "zw9005"."glsp_pzyjz_temp1" 0 kb 0 rows
 . . exported "zw9005"."glsp_pzyjz_temp2" 0 kb 0 rows
 . . exported "zw9005"."glsp_pzyjz_temp3" 0 kb 0 rows
 . . exported "zw9005"."glsp_pzyjz_temp4" 0 kb 0 rows
 . . exported "zw9005"."glsp_pzyjz_temp5" 0 kb 0 rows
 . . exported "zw9005"."glsp_pzyjz_temp6" 0 kb 0 rows
 ora-39014: one or more workers have prematurely exited.
 ora-39029: worker 1 with process name "dw01" prematurely terminated
 ora-31671: worker process dw01 had an unhandled exception.
 ora-39079: unable to enqueue message dg,kupc$c_1_20140217094653,kupc$a_1_20140217094654,mcp,50443,y
 ora-06512: at "sys.dbms_sys_error", line 86
 ora-06512: at "sys.kupc$que_int", line 924
 ora-04031: unable to allocate 2072 bytes of shared memory ("streams pool","unknown object","streams pool","kodpaih3 image")
 ora-06512: at "sys.kupw$worker", line 1397
 ora-06512: at line 2

Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" stopped due to fatal error at 10:28:18

从错误信息中可以看到ORA-04031: unable to allocate 2072 bytes of shared memory ("streams pool","unknown object","streams pool","kodpaih3 image")
 从字面上理解是在给streams pool分配内存时出错造成的,MOS上有一篇文件档
 DataPump Export (EXPDP) Fails With Error ORA-4031 ("streams pool", ...) (文档 ID 457724.1)
 In this Document

Symptoms
 Cause
 Solution
 References

--------------------------------------------------------------------------------
 
Applies to:
 Oracle Database - Enterprise Edition - Version 10.1.0.2 and later
 Information in this document applies to any platform.
 ***Checked for relevance on 16-MAY-2012***

Symptoms
 DataPump export (EXPDP) reports the following errors:

小艺
小艺

华为公司推出的AI智能助手

下载

ORA-31626: job does not exist
 ORA-31637: cannot create job SYS_EXPORT_FULL_01 for user SYSTEM
 ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
 ORA-06512: at "SYS.KUPV$FT_INT", line 600
 ORA-39080: failed to create queues "KUPC$C_1_20070823095248" and "KUPC$S_1_20070
 823095248" for Data Pump job
 ORA-06512: at "SYS.DBMS_SYS_ERROR", line 95
 ORA-06512: at "SYS.KUPC$QUE_INT", line 1580
 ORA-04031: unable to allocate 4194344 bytes of shared memory ("streams pool","unknown object","streams pool","fixed allocation callback
 
Cause
 The problem seems initially caused by having set the STREAMS_POOL_SIZE instance parameter to 0.
 The first argument of the ORA-4031 error message also indicates a problem with the Streams pool.
 
The streams pool is used exclusively by Oracle Streams, see #CNCPT1235
 Also, Data Pump export and import operations initialize the Oracle Streams pool because these operations use buffered queues.
 For information about the streams pool, refer to #STREP202
 
The size of the streams pool grows dynamically as required by Oracle Streams.
 The (initial) size also depends on usage of ASMM, AMM or manual (minimum) settings.
 That means that the parameter STREAMS_POOL_SIZE=0 is not the real root cause but the memory management cannot provide the automatic increase for the DataPump action at this time.
 Setting STREAMS_POOL_SIZE>0 will guarantee a minimum size for the streams pool when using ASMM or AMM, hence avoiding the ORA-4031.
 
Solution
 Set the STREAMS_POOL_SIZE instance parameter to at least 48MB to guarantuee a minimum size using:
 
SQL>connect / as sysdba

SQL> show parameter stream

NAME TYPE VALUE
 ------------------------------------ ----------- -----------------------------
 streams_pool_size big integer 0

SQL>alter system set streams_pool_size=48m scope=both

相关专题

更多
苹果官网入口直接访问
苹果官网入口直接访问

苹果官网直接访问入口是https://www.apple.com/cn/,该页面具备0.8秒首屏渲染、HTTP/3与Brotli加速、WebP+AVIF双格式图片、免登录浏览全参数等特性。本专题为大家提供相关的文章、下载、课程内容,供大家免费下载体验。

115

2025.12.24

拼豆图纸在线生成器
拼豆图纸在线生成器

拼豆图纸生成器有PixelBeads在线版、BeadGen和“豆图快转”;推荐通过pixelbeads.online或搜索“beadgen free online”直达官网,避开需注册的诱导页面。本专题为大家提供相关的文章、下载、课程内容,供大家免费下载体验。

82

2025.12.24

俄罗斯搜索引擎yandex官方入口地址(最新版)
俄罗斯搜索引擎yandex官方入口地址(最新版)

Yandex官方入口网址是https://yandex.com。用户可通过网页端直连或移动端浏览器直接访问,无需登录即可使用搜索、图片、新闻、地图等全部基础功能,并支持多语种检索与静态资源精准筛选。本专题为大家提供相关的文章、下载、课程内容,供大家免费下载体验。

546

2025.12.24

JavaScript ES6新特性
JavaScript ES6新特性

ES6是JavaScript的根本性升级,引入let/const实现块级作用域、箭头函数解决this绑定问题、解构赋值与模板字符串简化数据处理、对象简写与模块化提升代码可读性与组织性。本专题为大家提供相关的文章、下载、课程内容,供大家免费下载体验。

150

2025.12.24

php框架基础知识汇总
php框架基础知识汇总

php框架是构建web应用程序的架构,提供工具和功能,以简化开发过程。选择合适的框架取决于项目需求和技能水平。实战案例展示了使用laravel构建博客的步骤,包括安装、创建模型、定义路由、编写控制器和呈现视图。本专题为大家提供相关的文章、下载、课程内容,供大家免费下载体验。

20

2025.12.24

Word 字间距调整方法汇总
Word 字间距调整方法汇总

本专题整合了Word字间距调整方法,阅读下面的文章了解更详细操作。

47

2025.12.24

任务管理器教程
任务管理器教程

本专题整合了任务管理器相关教程,阅读下面的文章了解更多详细操作。

7

2025.12.24

AppleID格式
AppleID格式

本专题整合了AppleID相关内容,阅读专题下面的文章了解更多详细教程。

12

2025.12.24

csgo视频观看入口合集
csgo视频观看入口合集

本专题整合了csgo观看入口合集,阅读下面的文章了知道更多入口地址。

371

2025.12.24

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
SQL 教程
SQL 教程

共61课时 | 3.1万人学习

Java 教程
Java 教程

共578课时 | 37.6万人学习

oracle知识库
oracle知识库

共0课时 | 0人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号