ITPUB??ì3
ITPUB论坛 » Oracle专题深入讨论 » 关于插入数据与HWM的问题

标题: 关于插入数据与HWM的问题
离线 kl911
中级会员


精华贴数 0
个人空间 0
技术积分 602 (3110)
社区积分 8 (11906)
注册日期 2005-11-3
论坛徽章:1
ITPUB新首页上线纪念徽章     
      

发表于 2008-5-20 15:25 
关于插入数据与HWM的问题

For inserting data directly and indirectly, we'll find different result of HWM:
i.e :
SQL> truncate table a2;
SQL> alter system dump datafile 6 block 12003;  -- 12003 (only three block for segment header)
SQL> insert into a2 select * from a1;                                  (indirectly)
SQL> alter system dump datafile 6 block 12003;  -- 12009 --- ?? 12009 how to choose the block to be used?
SQL> truncate table a2;
SQL> insert /*+ append */ into a2 select * from a1;          (directly)
SQL> alter system dump datafile 6 block 12003;  -- 12004  --- ?? Does this means the insert data only use a block above 12003?
SQL> commit;
SQL> alter system dump datafile 6 block 12003;  -- 12005  --- ?? What's the inner process?

Could you please let me know the inner processes for the three incarnations? Thanks in advance for your helpful answer!


__________________
多一些磨练自己的机会,最好是千磨万砺。  成功是一种习惯,失败也是;当你习惯成功了,你会一直追随成功,而当你习惯失败了,你将会永远失败。

技术交流:  leonruxi@hotmail.com
只看该作者    顶部
离线 Yong Huang
版主



精华贴数 2
个人空间 0
技术积分 3978 (347)
社区积分 120 (2999)
注册日期 2001-10-9
论坛徽章:6
现任管理团队成员ITPUB元老管理团队2006纪念徽章会员2006贡献徽章授权会员2008年新春纪念徽章
      

发表于 2008-5-20 21:00 
Jingjingxiaomei already did extensive research. You can refer to her work.

What do you mean by "inner process"? Session running recursive SQLs? What's an incarnation here? Cases? You need to use Oracle's terminology.

Yong Huang


只看该作者    顶部
离线 yuxuan
每天进步一点点


来自 合肥
精华贴数 0
个人空间 60
技术积分 3506 (401)
社区积分 328 (1716)
注册日期 2001-11-7
论坛徽章:11
数据库板块每日发贴之星生肖徽章2007版:蛇生肖徽章2007版:羊生肖徽章2007版:鼠数据库板块每日发贴之星2008北京奥运纪念徽章:拳击
行业板块每日发贴之星行业板块每日发贴之星数据库板块每日发贴之星行业板块每日发贴之星行业板块每日发贴之星 

发表于 2008-5-21 12:42 
找找晶晶小妹的文章看看


__________________
努力工作,健康生活
只看该作者    顶部
离线 晶晶小妹
月是上弦


精华贴数 3
个人空间 6470
技术积分 1721 (937)
社区积分 8 (12235)
注册日期 2008-2-15
论坛徽章:4
现任管理团队成员2008北京奥运纪念徽章:跳水2008北京奥运纪念徽章:体操数据库板块每日发贴之星  
      

发表于 2008-5-21 23:33 
大家都推荐我的文章啊。谢谢大家的鼓励。

晶晶实验二十二之 直接路径插入篇:
http://space.itpub.net/13095417/viewspace-225009


__________________
没有必胜的秘籍,没有方程式遵循
要赢~只有全身心的投入!



为了方便大家查阅,所有的文章都已转入空间

http://space.itpub.net/?13095417

请大家多多支持!
只看该作者    顶部
 
    

相关内容


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