博客文章除注明转载外,均为原创。转载请注明出处。
本文链接地址:http://blog.chinaunix.net/uid-31396856-id-5763097.html
客户数据库:使用datapump导出schema的数据,报错信息如下:
. . exported "CCS_TC"."Z_T_TC_F_MBR_CREDIT_TOTAL" 0 KB 0 rows
. . exported "CCS_TC"."Z_T_TC_F_MBR_RECRUIT_COMPLETE" 0 KB 0 rows
ORA-39014: One or more workers have prematurely exited.
ORA-39029: worker 1 with process name "DW0K" prematurely terminated
ORA-31671: Worker process DW0K had an unhandled exception.
ORA-04030: out of process memory when trying to allocate 65048 bytes (callheap,KQL tmpbuf)
ORA-06508: PL/SQL: could not find program unit being called: "SYS.DBMS_SYS_ERROR"
ORA-06512: at "SYS.DBMS_METADATA_UTIL", line 1329
ORA-06512: at "SYS.DBMS_METADATA", line 9439
ORA-04030: out of process memory when trying to allocate 32800 bytes (qesca subheap,qerjo hash table)
ORA-06512: at "SYS.KUPW$WORKER", line 1838
ORA-06512: at line 2
Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
数据库是11.2.0.3,操作系统是centos 6
1.根据ora-4030错误调整了oracle的pga大小增大10g和临时表空间增加了数据文件;
2.调整oracle的limit,如下:
oracle:
oracle soft nproc 16384
oracle hard nproc 16384
oracle soft nofile 4096
oracle hard nofile 65536
oracle soft stack 10240
但是问题仍无法解决,继续跟进错误提示,发发现pl/sql存储过程和导出元数据时候的ora错误,这属于oracle的bug,搜索mos相关的文档比对,oracle给出的解决方法如下:
(1)设置参数
对11.2.0.4 以及以下版本数据库:
_use_realfree_heap=TRUE
_realfree_heap_pagesize_hint=262144
对12.1以及以上数据库:
_use_realfree_heap=TRUE
_realfree_heap_pagesize = 262144
(2)设置系统参数:
vm.max_map_count=300000
(3)使用EXCLUDE参数排除以上错误导出对象
综上,考虑到实际情况采用如下设置,因此
3.设置参数:
sysctl -w vm.max_map_count=300000
问题得以处理...
---The end
阅读(2376) | 评论(0) | 转发(0) |