ORA-39095: Dump file space has been exhausted: Unable to allocate 8192 bytes
来源:互联网 发布:网站域名多少钱cn的 编辑:程序博客网 时间:2024/06/03 01:09
今天到表的时候遇到这么一个怪问题。表的大小明明只有2G,设置的dumpfile文件为5G,足足有余了。可是导出表时却一直报ora-39095这个问题。
导出文件脚本
userid='/ as sysdba'
dumpfile=20121015cif2dev2.dmp
directory=DATA_PUMP_DIR
filesize=10000M
logfile=20121015cif2dev2.log
parallel=4
tables=CIF2LOGTMP.WEISHUPENG_GET_PARTY_VIP_1
job_name=xionglang619dump
content=all
执行:
nohup expdp parfile=20121015cif2dev2.par & 放入后台进行执行。
结果就处理这个错误。很是郁闷啊!为啥呢?
Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
ORA-39095: Dump file space has been exhausted: Unable to allocate 8192 bytes
Job "SYS"."XIONGLANG619DUMP" stopped due to fatal error at 14:09:01
测试了下去掉parallel后执行可以成功。为啥加入并行就会出错呢??
Because each active worker process or I/O server process writes exclusively to one file at a time, an insufficient number of files can have adverse effects. Some of the worker processes will be idle while waiting for files, thereby degrading the overall performance of the job. More importantly, if any member of a cooperating group of parallel I/O server processes cannot obtain a file for output, then the export operation will be stopped with an ORA-39095 error. Both situations can be corrected by attaching to the job using the Data Pump Export utility, adding more files using the ADD_FILE command while in interactive mode, and in the case of a stopped job, restarting the job.
You can supply multiple file_name specifications as a comma-delimited list or in separate DUMPFILE parameter specifications. If no extension is given for the filename, then Export uses the default file extension of .dmp. The filenames can contain a substitution variable (%U), which implies that multiple files may be generated. The substitution variable is expanded in the resulting filenames into a 2-digit, fixed-width, incrementing integer starting at 01 and ending at 99. If a file specification contains two substitution variables, both are incremented at the same time. For example, exp%Uaa%U.dmp would resolve to exp01aa01.dmp, exp02aa02.dmp, and so forth.
在oracle的文档中看到了并行的影响。
文章说的很清楚了。所以就用%U作为dumpfile文件。这样就没有问题了。
userid='/ as sysdba'
dumpfile=20121015cif2dev2%U.dmp
directory=DATA_PUMP_DIR
filesize=10000M
logfile=20121015cif2dev2.log
parallel=4
tables=CIF2LOGTMP.WEISHUPENG_GET_PARTY_VIP_1
job_name=xionglang619dump1
content=all
这样就一点问题就没有了。nohup expdp parfile=20121015cif2dev2.par &
总结:oracle在处理大表时是将表分成多个分块,从而实现并行查询。
- ORA-39095: Dump file space has been exhausted: Unable to allocate 8192 bytes
- ORA-39095: Dump file space has been exhausted: Unable to allocate 8192 bytes
- ORA-39095: Dump file space has been exhausted: Unable to allocate 8192 bytes
- DataPump Export (EXPDP) Error ORA-39095 Dump File Space Has Been Exhausted [ID 559692.1]
- expdp 一例: ORA-39095: Dump file space has been exhausted
- ORA-04031:unable to allocate N bytes of shared memory
- ORA-04031: unable to allocate 4096 bytes of shared memory
- ORA-04031: unable to allocate 2048024 bytes of shared memory
- ORA-04031: unable to allocate 4096 bytes of shared memory (解决方案)
- ORA-31640: unable to open dump file 问题解决
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes) 问题解决
- Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php
- Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytes)
- Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 775920 bytes)
- Fatal error: Allowed memory size of 12582912 bytes exhausted (tried to allocate 62 bytes) in
- Allowed memory size of aaaaa bytes exhausted (tried to allocate bbbbb bytes)
- 问题解决Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 38218371 bytes)
- Allowed memory size of 149946368 bytes exhausted (tried to allocate 32640 bytes)
- 汇编bne的问题
- Hibernate工作原理及为什么要用
- 用DedeCms搭建的网站应该如何防挂马?
- char类型默认是signed还是unsigned?
- SetTimer()KillTimer()
- ORA-39095: Dump file space has been exhausted: Unable to allocate 8192 bytes
- c++纯虚函数
- linus shell读取文件
- HDU 3030 Increasing Speed Limits 树状数组
- android - Warning: Exported activity does not require permission
- c++ 函数返回引用
- “超时时间已到,但是尚未从池中获取连接。”的解决办法
- JavaScript Tool 开发手记。。。
- 星号图(1)