免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1584 | 回复: 4
打印 上一主题 下一主题

关于ORA-01555错误的问题,谢谢 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-05-23 16:04 |只看该作者 |倒序浏览
我在看:http://asktom.oracle.com/pls/ask ... PLAYID:275215756923
的时候有两个地方不明白:
1、  下面是作者为了避免快照太老的错误发生提出的建议:
6.  Ensure that the outer select does not revisit the same block at different
times during the processing. This can be achieved by :

        - Using a full table scan rather than an index lookup
        - Introducing a dummy sort so that we retrieve all the data, sort it and
then sequentially visit these data blocks.
那位dx能不能解释一下上面这段话

2、  
Use a small buffer cache (db_block_buffers).
   
    REASON: You do not want the session executing the script to be able to find
old versions of the block in the buffer cache which can be used to satisfy a
block visit without requiring the rollback information.
上面这段话的意思是不是说:如果缓冲区中可以找到足够旧的数据,ORACLE就不会倒回滚中查找数据

论坛徽章:
0
2 [报告]
发表于 2006-05-25 09:08 |只看该作者
没有人知道吗???自己顶一下……

招聘 : Linux运维
论坛徽章:
0
3 [报告]
发表于 2006-05-25 09:51 |只看该作者
2俺也那么理解

1的话对pl/sql地执行不是太在行
有哪位给讲讲outer select 的执行的详细过程阿啊?

[ 本帖最后由 天涯明月刀 于 2006-5-25 10:13 编辑 ]

论坛徽章:
0
4 [报告]
发表于 2006-05-25 09:54 |只看该作者
http://asktom.oracle.com/pls/ask ... PLAYID:275215756923
不好意思……现在应该可以了

招聘 : Linux运维
论坛徽章:
0
5 [报告]
发表于 2006-05-25 10:31 |只看该作者
- Using a full table scan rather than an index lookup

这个本人理解是:
如果full scan就不会出现revisit the same block at different
times during the processing  这种情况,而如果使用了索引就不是按照表的存储顺序来了
当然就可能先在某个块里面取了一行,过了个时间又取了一行,这就完全由索引来决定了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP