ITPUB??ì3
ITPUB论坛 » Oracle数据库管理 » 求救:exp全库导出时时报错

标题: 求救:exp全库导出时时报错
离线 bengsui
中级会员



精华贴数 0
个人空间 0
技术积分 742 (2894)
社区积分 3 (22113)
注册日期 2003-1-24
论坛徽章:1
授权会员     
      

发表于 2004-3-22 14:54 
求救:exp全库导出时时报错

导出到开始导出同义词时就报错
报错信息如下:
. . exporting table                  MYTEST       184 rows exported
. exporting synonyms
EXP-00008: ORACLE error 4031 encountered
ORA-04031: unable to allocate 4032 bytes of shared memory ("shared pool","oracle/aurora/rdbms/DbmsJavaSYS","joxlod: in ehe","ioc_allocate_pal"
EXP-00000: Export terminated unsuccessfully

请问是什么原因?


只看该作者    顶部
离线 bengsui
中级会员



精华贴数 0
个人空间 0
技术积分 742 (2894)
社区积分 3 (22113)
注册日期 2003-1-24
论坛徽章:1
授权会员     
      

发表于 2004-3-22 15:12 
我的shared_pool有500M,应该够大了吧,而且提示是只要分配4032bytes啊


只看该作者    顶部
离线 jlandzpa
版主


精华贴数 31
个人空间 0
技术积分 50020 (13)
社区积分 62526 (9)
注册日期 2001-10-12
论坛徽章:16
现任管理团队成员ITPUB元老授权会员行业板块每日发贴之星ITPUB新首页上线纪念徽章 
      

发表于 2004-3-22 15:21 
try

java_pool_size=30m


__________________
my blog: http://blog.itpub.net/jlandzpa
mail: “id”@itpub.net

只看该作者    顶部
离线 bengsui
中级会员



精华贴数 0
个人空间 0
技术积分 742 (2894)
社区积分 3 (22113)
注册日期 2003-1-24
论坛徽章:1
授权会员     
      

发表于 2004-3-22 15:50 
我做exp备份要用到很多的shared pool吗?


只看该作者    顶部
离线 xie3000
防洪专家


精华贴数 1
个人空间 0
技术积分 7357 (210)
社区积分 111 (3722)
注册日期 2002-11-21
论坛徽章:11
ITPUB元老会员2006贡献徽章CTO参与奖授权会员生肖徽章2007版:虎ITPUB新首页上线纪念徽章
      

发表于 2004-3-22 15:52 
按jlandzpa斑竹说的试一下:

ORA-04031: unable to allocate 4032 bytes of shared memory ("shared
pool","oracle/aurora/rdbms/DbmsJavaSYS","joxlod: in ehe","ioc_allocate_pal"


__________________
网络、安全、数据库相关
Oracle DBA  OCP 8I/OCP 9I、网络工程师、CCNP
========Q我========给我发邮件========
只看该作者    顶部
离线 bengsui
中级会员



精华贴数 0
个人空间 0
技术积分 742 (2894)
社区积分 3 (22113)
注册日期 2003-1-24
论坛徽章:1
授权会员     
      

发表于 2004-3-22 15:56 
我就是担心简单的增加大小可能不能根本解决问题。我想知道到底是什么原因引起这样的。这么大的共享池居然不能分配空间了。


只看该作者    顶部
离线 alphah
一般会员



精华贴数 0
个人空间 0
技术积分 186 (10969)
社区积分 0 (80890)
注册日期 2003-1-3
论坛徽章:0
      
      

发表于 2004-3-22 16:05 
04031, 00000, "unable to allocate %s bytes of shared memory (\"%s\",\"%s\",\"%s\",\"%s\"
)"
// *Cause:  More shared memory is needed than was allocated in the shared
//          pool.
// *Action: If the shared pool is out of memory, either use the
//          dbms_shared_pool package to pin large packages,
//          reduce your use of shared memory, or increase the amount of
//          available shared memory by increasing the value of the
//          INIT.ORA parameters "shared_pool_reserved_size" and
//          "shared_pool_size".
//          If the large pool is out of memory, increase the INIT.ORA
//          parameter "large_pool_size".


只看该作者    顶部
离线 bengsui
中级会员



精华贴数 0
个人空间 0
技术积分 742 (2894)
社区积分 3 (22113)
注册日期 2003-1-24
论坛徽章:1
授权会员     
      

发表于 2004-3-22 16:07 
对了,我的错误是说shared_pool不够,而不是java_pool啊,为什么调整java_pool呢?


只看该作者    顶部
离线 coolyl
A Big Dog


精华贴数 7
个人空间 906
技术积分 85892 (5)
社区积分 6306 (276)
注册日期 2001-12-17
论坛徽章:29
现任管理团队成员生肖徽章2007版:牛生肖徽章2007版:蛇生肖徽章2007版:鸡生肖徽章2007版:虎生肖徽章2007版:牛
行业板块每日发贴之星     

发表于 2004-3-22 16:27 
The default value for the java_pool_size in 8.1.5 should be  10Meg and in 8.1.6 the default should be 20Meg.  If your settings are too low, this will cause the export to run out of memory.  Therefore, you will need to  check and increase your settings for these two parameters in your init.ora  and retry the export.

And your database version?
how to write your exp statement?


__________________
掬水月在手,弄花衣满香!
只看该作者    顶部
离线 bengsui
中级会员



精华贴数 0
个人空间 0
技术积分 742 (2894)
社区积分 3 (22113)
注册日期 2003-1-24
论坛徽章:1
授权会员     
      

发表于 2004-3-22 16:43 
数据库version是8.1.7.0.0,exp语句是exp test/test file='/oradata/test.dmp'   log='/oradata/test.log'
看我的错误中oracle/aurora/rdbms/DbmsJavaSYS,我想也许是的吧,我的java_pool只有61440,估计是太小了


只看该作者    顶部
相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰网域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:060528号 联系我们 法律顾问