12
返回列表 发新帖
楼主: oracle_lch

10g怎样为单独一个事务设置较大的UNDO段

[复制链接]
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
11#
发表于 2014-3-8 00:11 | 只看该作者
Resource plan is not what he wants. Read the second paragraph of msg #6. He wants a huge undo tablespace for that job. After the job is finished, he wants the undo tablespace as small as the business only needs it to be. With a resource plan, you would have a huge undo tablespace all the time, allow the job to use most or all of it and allow other sessions to use just enough. But you still have a huge undo taking lots of storage all the time, causing a long RMAN backup among other things.

To prevent the job from abort on running out of space, alter session enable resumable at the beginning of the job, and make sure you check the job once every 2 hours or more often or make the resumable timeout longer.

使用道具 举报

回复
论坛徽章:
3
ITPUB 11周年纪念徽章
日期:2012-10-09 18:05:372013年新春福章
日期:2013-02-25 14:51:24ITPUB社区OCM联盟徽章
日期:2015-03-02 10:15:18
12#
发表于 2014-3-19 16:34 | 只看该作者
用10g的资源计划管理,就可以满足这个需求,你可以仔细看看资料,ocm考试都有这些内容的

使用道具 举报

回复
论坛徽章:
3
ITPUB 11周年纪念徽章
日期:2012-10-09 18:05:372013年新春福章
日期:2013-02-25 14:51:24ITPUB社区OCM联盟徽章
日期:2015-03-02 10:15:18
13#
发表于 2014-3-19 16:41 | 只看该作者
可以根据资源消费者,设置不同的undo使用量

使用道具 举报

回复
论坛徽章:
8
2009新春纪念徽章
日期:2009-01-04 14:52:28祖国60周年纪念徽章
日期:2009-10-09 08:28:002010新春纪念徽章
日期:2010-03-01 11:07:24ITPUB9周年纪念徽章
日期:2010-10-08 09:32:25ITPUB十周年纪念徽章
日期:2011-11-01 16:23:262013年新春福章
日期:2013-02-25 14:51:24沸羊羊
日期:2015-03-04 14:51:522015年新春福章
日期:2015-03-06 11:57:31
14#
发表于 2014-3-20 15:54 | 只看该作者
本帖最后由 sqysl 于 2014-3-20 15:58 编辑

1、这种情况应该是大job耗光了undo空间;
2、既然undo空间不够,就算10g支持你分配单独的undo段,且可以指定不覆盖undo信息,总的undo空间就更不够的;还有,报出ora-01555的事务,未必是这个大job,要知道系统上不只跑着这一个job;
2、undo_retention起作用是有条件的,很多情况下,只增加它没用;

使用道具 举报

回复
论坛徽章:
4
ITPUB8周年纪念徽章
日期:2009-09-27 10:21:21ITPUB学员
日期:2010-01-05 18:19:20ITPUB9周年纪念徽章
日期:2010-10-08 09:32:26ITPUB十周年纪念徽章
日期:2011-11-01 16:23:26
15#
 楼主| 发表于 2014-3-21 14:25 | 只看该作者
感谢大家的关注,问题解决了,从应用角度解决的,切小了事物降低了undo的负担。

使用道具 举报

回复

您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表