ITPUB论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

返回列表 发新帖
更多
查看: 2100|回复: 11

求救:exp全库导出时时报错 [复制链接]

注册会员

中级会员

精华贴数
0
技术积分
752
社区积分
3
注册时间
2003-1-24
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
发表于 2004-3-22 14:54:01 |显示全部楼层
导出到开始导出同义词时就报错
报错信息如下:
. . 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

请问是什么原因?

注册会员

中级会员

精华贴数
0
技术积分
752
社区积分
3
注册时间
2003-1-24
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
发表于 2004-3-22 15:12:40 |显示全部楼层
我的shared_pool有500M,应该够大了吧,而且提示是只要分配4032bytes啊

使用道具 举报

版主

版主

精华贴数
35
技术积分
58618
社区积分
80765
注册时间
2001-10-12
论坛徽章:
16
发表于 2004-3-22 15:21:07 |显示全部楼层

try

java_pool_size=30m

使用道具 举报

注册会员

中级会员

精华贴数
0
技术积分
752
社区积分
3
注册时间
2003-1-24
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
发表于 2004-3-22 15:50:14 |显示全部楼层
我做exp备份要用到很多的shared pool吗?

使用道具 举报

注册会员

just do it

精华贴数
1
技术积分
7389
社区积分
111
注册时间
2002-11-21
论坛徽章:
11
会员2006贡献徽章
日期:2006-04-17 13:46:34ITPUB元老
日期:2006-04-24 14:03:07授权会员
日期:2006-04-24 13:56:42ITPUB新首页上线纪念徽章
日期:2007-10-20 08:38:44生肖徽章2007版:虎
日期:2008-01-02 17:35:53CTO参与奖
日期:2009-01-15 11:42:46
发表于 2004-3-22 15:52:33 |显示全部楼层
按jlandzpa斑竹说的试一下:

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

使用道具 举报

注册会员

中级会员

精华贴数
0
技术积分
752
社区积分
3
注册时间
2003-1-24
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
发表于 2004-3-22 15:56:24 |显示全部楼层
我就是担心简单的增加大小可能不能根本解决问题。我想知道到底是什么原因引起这样的。这么大的共享池居然不能分配空间了。

使用道具 举报

注册会员

一般会员

精华贴数
0
技术积分
188
社区积分
0
注册时间
2003-1-3
论坛徽章:
0
发表于 2004-3-22 16:05:56 |显示全部楼层
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".

使用道具 举报

注册会员

中级会员

精华贴数
0
技术积分
752
社区积分
3
注册时间
2003-1-24
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
发表于 2004-3-22 16:07:13 |显示全部楼层
对了,我的错误是说shared_pool不够,而不是java_pool啊,为什么调整java_pool呢?

使用道具 举报

版主

A Big Dog

精华贴数
7
技术积分
86472
社区积分
6312
注册时间
2001-12-17
论坛徽章:
43
行业板块每日发贴之星
日期:2009-02-12 01:01:05ITPUB技术丛书作者
日期:2010-09-26 15:24:56ITPUB9周年纪念徽章
日期:2010-10-08 09:32:272011新春纪念徽章
日期:2011-01-25 15:41:012011新春纪念徽章
日期:2011-01-25 15:41:502011新春纪念徽章
日期:2011-01-25 15:42:152011新春纪念徽章
日期:2011-01-25 15:42:332011新春纪念徽章
日期:2011-01-25 15:42:56管理团队成员
日期:2011-05-07 01:45:082010数据库技术大会纪念徽章
日期:2010-05-13 10:04:272010新春纪念徽章
日期:2010-03-01 11:04:582010年世界杯参赛球队:新西兰
日期:2010-02-26 11:06:54
发表于 2004-3-22 16:27:40 |显示全部楼层
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?

使用道具 举报

注册会员

中级会员

精华贴数
0
技术积分
752
社区积分
3
注册时间
2003-1-24
论坛徽章:
1
授权会员
日期:2005-10-30 17:05:33
发表于 2004-3-22 16:43:29 |显示全部楼层
数据库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,估计是太小了

使用道具 举报

相关内容推荐
您需要登录后才可以回帖 登录 | 注册

TOP技术积分榜 社区积分榜 徽章 电子杂志 团队 统计 邮箱 虎吧 老博客 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档 | IT博客
CopyRight 1999-2011 itpub.net All Right Reserved. 北京皓辰网域网络信息技术有限公司版权所有 联系我们 网站律师 隐私政策 知识产权声明
京ICP证:060528号 北京市公安局海淀分局网监中心备案编号:1101082001 广播电视节目制作经营许可证:编号(京)字第1149号
  
回顶部