本版的学习风气,braindump以及一个关于db_block_checksum的问题

[复制链接]
查看11 | 回复9 | 2015-10-8 17:57:58 | 显示全部楼层 |阅读模式
最近发现这个认证版的风气好像有点不如以前,有深度的问题不再有人讨论,不管是braindump,还是看书或者实践中遇到的问题。许多人来了就张口要题,而真正的问题提出来却很少有人参与讨论,似乎只想背答案拿证书。
其实对braindump也不必畏之如虎,只要不是背题做paper,讨论一下其中的问题,对掌握知识点是很有帮助的,毕竟那些题目都是经过精雕细琢反复推敲才定出来的,只要抱着学习的态度来研究,有何不可?
我在这里提一个问题。应该算是BKRC的范畴吧。当设置了db_block_checksum=true的时候,ARCH在archive redo log的时候会检查checksum。问题是,如果它发现某一个group member的checksum有错,它会怎样做?是用其他好的member继续做archiving呢,还是出错?如果出错,instance会不会shutdown,还是挂起?另外它把错误写到哪里?
以上是一个member出错的情形。如果是group member全部都有checksum错,又会怎样?
请注意区别这个问题和常见的group member不可存取的问题的区别。在这个问题中,group member的存取没有问题(假如没有打开db_block_checksum,archive就照常进行了,因为ARCH并不知道有checksum错)。

回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
刚才忘了说,还有一个问题就是张口就问,不知道先查一查以前的帖子。
回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
olive,
能否介绍一下查以前帖子的技巧?
在本论坛中,我感到如想查我自己以前所发帖子都有些困难.
谢谢.
回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
说实话我也不是很熟悉,但是我知道有这样一些方法。
如果知道是谁发的帖子,比如你说你想找自己的帖子,就按照发贴人的代号搜索,你可以选择是发起人,或者是回应人。
如果记得大概的题目,就按照题目搜索,
如果记得大致内容,就大一些你觉得比较独特的关键字搜索,不要试图搜索oracle啊,ocp啊,因为这些关键字没有特征,找出来一大堆。
其实在搜索页面上看一看很容易明白的啦!
回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
我在Oracle的metalink看到这么一段话。
When DB_BLOCK_CHECKSUM set to TRUE, what will happen when redo log corruption is detected?
I would like to set DB_BLOCK_CHECKSUM to TRUE to further protect the redo log files. What before this I would like to understand its behavior: When the checksum for one member of a redo log group is invalid, what will happen on archiving? When the checksums of all members of a redo log group are invalid, what will happen?
From: Brandon Cole 25-Apr-02 15:57
Subject: Re : When DB_BLOCK_CHECKSUM set to TRUE, what will happen when redo log corruption is detected?

It's been a while since I went over this stuff.
1. If LGWR can access at least one member in a group, the writing to the accessible members of the group proceeds as usual; LGWR ignores the unavailable members of the group. If the group was not active -- that is, the checkpoint was completed -- then dropping and adding a new redo log member solves the problem. Otherwise, you have to first force a log switch.
2. If all members of the next group are inaccessible to LGWR at a log switch, the instance shuts down. If the group was not active, then dropping and adding a new redo log group solves the problem. If not, the database may need media recovery from the loss of an online redo log file.
3. If all members of the current group suddenly become inaccessible to LGWR as they are being written, the db instance shuts down. In this case, the database my need recovery from the loss of an online redo log file.
Seemed I didn't express clearly enough. I was asking if redo log CHECKSUM mismatch occured when DB_BLOCK_CHECKSUM was enabled, how will Oracle act? The redo log is still accessable, only data corruption occurs. Without DB_BLOCK_CHECKSUM enabled, ARCH cannot detect this corruption and will archive as usual because redo log is still physically accessable. But when DB_BLOCK_CHECKSUM is enabled, will ARCH act differetly?
Tom answered partly that ARCH may report errors but will the redo log still be archived, when only one member is corrupted or all members are corrupted, respectively?
回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
问题好像就是归结到某一个,或者日志组全部日志损坏,
Oracle如何处理。
也没有什么测试办法可以验证的。 :)
Oracle9i的默认值是True,在8i中是False
回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
强烈同意顶楼观点
好多不错的论坛都被满眼的真题,bible给毁了
oracle工作中一直在用,我一般是不会哪段查哪段doc
现在想通过认证系统的学习一下oracle
还请各位老鸟多指教
回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
我在提问的时候已经强调了,这和redo log损坏不是一回事。redo log损坏,不能读写,那就是metalink所回答的情况,现在我问的是redo log只是发生了数据错误,文件本身是可以读写的,假如db_block_checksum没有打开,这个数据错误不会被探测到,ARCH也将如常运行,把redo log作archive,虽然这时数据已经错了,但ARCH不知道。只有当db_block_checksum打开,数据错误才能被探测到,这时候ARCH肯定会报错,但是问题就是报错以后怎么样?它是停下来不干了,还是用好的member继续干(假如不是全部member损坏),还是干脆整个数据库都停了?
回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
问题不还是一样嘛。错与不能读取不是一样的严重。
肯定是照旧处理了。 :)
有一点我觉得,Oracle不会将错误的东西,当正确的使用。
如果有正确数据,Oracle也会相应采用。除非有不可逾越的障碍,
Oracle只能Hang下来了。
根据人之常情,推断。
回复

使用道具 举报

千问 | 2015-10-8 17:57:58 | 显示全部楼层
如果一个group member的失败,Oracle因此而停止不前,Hang下来。
Oracle如何保证它的高可用性。
回复

使用道具 举报

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

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行