ITPUB??ì3
12月微软Hyper-V虚拟化沙龙主题征集
ITPUB论坛 » Oracle专题深入讨论 » 疑惑: exp 的时候也会用到回滚段吗?

标题: 疑惑: exp 的时候也会用到回滚段吗?
在线/呼叫 binss
超级会员


精华贴数 17
个人空间 0
技术积分 25778 (37)
社区积分 9363 (171)
注册日期 2002-4-5
论坛徽章:142
现任管理团队成员2008北京奥运纪念徽章:体操2008北京奥运纪念徽章:网球2008北京奥运纪念徽章:棒球2008北京奥运纪念徽章:跳水2008北京奥运纪念徽章:棒球
2008北京奥运纪念徽章:马术2008北京奥运纪念徽章:花样游泳2008北京奥运纪念徽章:花样游泳设计板块每日发贴之星2008北京奥运纪念徽章:跳水2008北京奥运纪念徽章:柔道

发表于 2004-9-23 10:25 
疑惑: exp 的时候也会用到回滚段吗?

疑惑: exp 的时候也会用到回滚段吗?为什么exp 的时候还会保 1555 的错误呢?想不清楚


__________________
只看该作者    顶部
离线 d.c.b.a
人生积极一点好


精华贴数 6
个人空间 0
技术积分 14167 (83)
社区积分 1359 (804)
注册日期 2004-2-19
论坛徽章:22
现任管理团队成员Heart of PUBITPUB北京九华山庄2008年会纪念徽章参与2007年甲骨文全球大会(中国上海)纪念ITPUB北京香山2007年会纪念徽章会员2007贡献徽章
生肖徽章2007版:猴ITPUB新首页上线纪念徽章    

发表于 2004-9-23 10:34 
会的,exp出来的状态是一致的,也就是到某个时间点的数据。


__________________

专业Oracle/Shareplex技术支持服务, 管理, 培训, 调优, 备份, 恢复!

个人主页: 订阅AnySQL | AnySQL | dbatools | AUL Step by Step | OracleSOS.com
联系方法: MSN: anysql©live.com, Skype: anysql, QQ: 37223884
只看该作者    顶部
离线 wzy25
黑骑士



精华贴数 34
个人空间 0
技术积分 32982 (24)
社区积分 565 (1341)
注册日期 2001-12-14
论坛徽章:31
现任管理团队成员ITPUB元老管理团队2007贡献徽章参与2007年甲骨文全球大会(中国上海)纪念月度精华徽章ITPUB北京香山2007年会纪念徽章
管理团队2006纪念徽章会员2007贡献徽章会员2006贡献徽章授权会员2008年新春纪念徽章生肖徽章2007版:鸡

发表于 2004-9-23 22:54 
会用到的,却省的是是以表为单位作事务,所以需要undo ,如果加上 consistent=y,那么整个
exp 就是个big 事务,需要更多的undo.


__________________
wrong_x@hotmail.com
http://wzy25.itpub.net
提供保险核心业务系统咨询,评估业务。提供上海北京及北京周边地区oracle db,oracle as,weblogic技术支持,培训
只看该作者    顶部
离线 小新
资深会员


精华贴数 0
个人空间 0
技术积分 2063 (783)
社区积分 293 (1967)
注册日期 2003-9-24
论坛徽章:2
会员2006贡献徽章授权会员    
      

发表于 2004-9-25 21:01 
这里想起以前一个朋友问我关于exp时的回滚段的设置问题。
通常情况下,我们在跑大事务的时候可以指定一个大的回滚给他用。但是在exp的时候如何这么做?想不出有什么好的办法,有人有好的建议提下啊。


__________________
入睡中#¥¥#%#%msn:dabingruien@msn.com蠢人干蠢事!
只看该作者    顶部
离线 ablom
老会员



精华贴数 0
个人空间 0
技术积分 774 (2493)
社区积分 1 (36404)
注册日期 2004-9-18
论坛徽章:0
      
      

发表于 2004-9-26 22:24 
在exp的时候,系统要维护一个当前时间点的数据库快照;
假如是exp一张表,系统要维护这张表的这个时间点上的快照;假如在exp的过程中有
人对表进行更新,就必须在回滚段中产生导出时间点的数据的一个备份,而且这个备份必须到exp完成后才能释放,这是为了保证exp的一致性读取;
我个人认为表级的exp 在数据库中是一次table full scan,正常情况下不需要回滚的;


__________________
我的blob : http://blog.itpub.net/ablom  MSN : hot_ablom@hotmail.com
只看该作者    顶部
离线 Kamus
版主


精华贴数 51
个人空间 400
技术积分 46804 (13)
社区积分 3565 (391)
注册日期 2002-5-26
论坛徽章:30
现任管理团队成员2007年度ITPUB最佳技术原创精华ITPUB元老ITPUB北京九华山庄2008年会纪念徽章管理团队2007贡献徽章参与2007年甲骨文全球大会(中国上海)纪念
ITPUB北京香山2007年会纪念徽章管理团队2006纪念徽章会员2007贡献徽章会员2006贡献徽章授权会员2008北京奥运纪念徽章:跳水

发表于 2004-9-28 13:33 
贴一段来自AskTom的帖子

You Asked (Jump to Tom's latest followup)

When running exp from a unix environment and getting ORA-1555
is there any way to use the command(or its equivalant)
'set transaction use rollback segment RBSbig' or do I have to
think about increasing the size of all my rollback segments

Regards,
       Michael   

and we said...

see


http://asktom.oracle.com/pls/ask ... 15756923,%7B1555%7D

for a discussion on this error and what causes it.

The solution you attempted, "create one big rollback" segment won't work in any
case since a 1555 is not caused by the transaction that GETS the error -- its
caused by all of the other transactions that have happened.  What you need to do
is make all of your rollback segments larger.  For example, I do a regular
export of a 6 gig image table full of blobs.  I've never hit an ora1555 in my
life.  I have large or many rollback segements though.  In my one instance I
have 6 250meg (1.5 gig total) rollback segments.  It takes a very very long time
for these to wrap around.  In my other instance I have 30 25meg rollback
segments (3/4's of a gig).  The difference between the 2 databases is the one
with few really big rollback segments has mostly fewer concurrent transactions
that do "big transactions".  The other instance has lots of concurrent
transactions that do "small or medium".  I keep lots of PERMANTLY big rollback
segments out there.  I do not attempt to skimp on rollback space (and I never
let them "shrink" to some optimal size -- I let them grow and then manually
shrink them when I want to - when i know i won't be needing that space).

So, its not that the EXPORT needs to be assigned to a big rollback -- its that
you need to let your rollback hang around for a longer period of time.  I would
recommend using recommendation #1 and #4 in the referenced URL:

  1.  Increase size of rollback segment which will reduce the likelihood of
overwriting rollback information that is needed.

  4.  Add additional rollback segments. This will allow the updates etc. to be
spread across more rollback segments thereby reducing the chances of overwriting
required rollback information.

have many large -- permanently allocated rollback segments.


__________________
有事情请发Gmail邮箱,站内IM可能不能及时回复。    

***Chanel [K]***

从明天起, 做一个幸福的人  
喂马, 劈柴, 周游世界  
从明天起, 关心粮食和蔬菜  
我有一所房子 面朝大海, 春暖花开
只看该作者    顶部
 
    

相关内容


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