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:

InsCode
InsCode

InsCode 是CSDN旗下的一个无需安装的编程、协作和分享社区

下载

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

热门AI工具

更多
DeepSeek
DeepSeek

幻方量化公司旗下的开源大模型平台

豆包大模型
豆包大模型

字节跳动自主研发的一系列大型语言模型

通义千问
通义千问

阿里巴巴推出的全能AI助手

腾讯元宝
腾讯元宝

腾讯混元平台推出的AI助手

文心一言
文心一言

文心一言是百度开发的AI聊天机器人,通过对话可以生成各种形式的内容。

讯飞写作
讯飞写作

基于讯飞星火大模型的AI写作工具,可以快速生成新闻稿件、品宣文案、工作总结、心得体会等各种文文稿

即梦AI
即梦AI

一站式AI创作平台,免费AI图片和视频生成。

ChatGPT
ChatGPT

最最强大的AI聊天机器人程序,ChatGPT不单是聊天机器人,还能进行撰写邮件、视频脚本、文案、翻译、代码等任务。

相关专题

更多
go语言 注释编码
go语言 注释编码

本专题整合了go语言注释、注释规范等等内容,阅读专题下面的文章了解更多详细内容。

32

2026.01.31

go语言 math包
go语言 math包

本专题整合了go语言math包相关内容,阅读专题下面的文章了解更多详细内容。

23

2026.01.31

go语言输入函数
go语言输入函数

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

16

2026.01.31

golang 循环遍历
golang 循环遍历

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

5

2026.01.31

Golang人工智能合集
Golang人工智能合集

本专题整合了Golang人工智能相关内容,阅读专题下面的文章了解更多详细内容。

6

2026.01.31

2026赚钱平台入口大全
2026赚钱平台入口大全

2026年最新赚钱平台入口汇总,涵盖任务众包、内容创作、电商运营、技能变现等多类正规渠道,助你轻松开启副业增收之路。阅读专题下面的文章了解更多详细内容。

268

2026.01.31

高干文在线阅读网站大全
高干文在线阅读网站大全

汇集热门1v1高干文免费阅读资源,涵盖都市言情、京味大院、军旅高干等经典题材,情节紧凑、人物鲜明。阅读专题下面的文章了解更多详细内容。

195

2026.01.31

无需付费的漫画app大全
无需付费的漫画app大全

想找真正免费又无套路的漫画App?本合集精选多款永久免费、资源丰富、无广告干扰的优质漫画应用,涵盖国漫、日漫、韩漫及经典老番,满足各类阅读需求。阅读专题下面的文章了解更多详细内容。

170

2026.01.31

漫画免费在线观看地址大全
漫画免费在线观看地址大全

想找免费又资源丰富的漫画网站?本合集精选2025-2026年热门平台,涵盖国漫、日漫、韩漫等多类型作品,支持高清流畅阅读与离线缓存。阅读专题下面的文章了解更多详细内容。

85

2026.01.31

热门下载

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

精品课程

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

共61课时 | 3.7万人学习

Java 教程
Java 教程

共578课时 | 55万人学习

oracle知识库
oracle知识库

共0课时 | 0人学习

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

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