关于插入数据与HWM的问题

[复制链接]
查看11 | 回复3 | 2006-4-12 17:47:49 | 显示全部楼层 |阅读模式
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!
回复

使用道具 举报

千问 | 2006-4-12 17:47:49 | 显示全部楼层
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
回复

使用道具 举报

千问 | 2006-4-12 17:47:49 | 显示全部楼层
找找晶晶小妹的文章看看
回复

使用道具 举报

千问 | 2006-4-12 17:47:49 | 显示全部楼层
大家都推荐我的文章啊。谢谢大家的鼓励。
晶晶实验二十二之 直接路径插入篇:
http://space.itpub.net/13095417/viewspace-225009
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行