MINSCN与Cache Fusion Read Consistent

CR Server in Oracle9i Release 2 There are three instances involved: the requestor instance, the lock master instance, and the current block owner instance. The lock is granted if one of the following is true: Resource held mode is NULL. Resource held mode is S and there is no holder of an S lock in the master node. Otherwise, the master forwards the CR request to the holder node. If the lock is global, then you choose a node to forward the CR request to as follows: If there is a past image (PI) at the lock master instance, and the PI SCN is greater than snap-scn, then the master node is this node. Otherwise, you choose a PI with the smallest SCN and PI-SCN greater than snap-SCN. The owner node of this PI is the node you forward the CR request to. The PI with smallest SCN is the most interesting one, because you have less UNDO to be applied. If there is no PI at all, you choose the node that the current buffer belongs to.

问题来源于 网友在Ask Maclean Home 上关于  RAC 中 Past Image PI块的提问, 网友提出了一个演示,我们在11.2.0.3 2 Node RAC的环境中重现这个实验:

 

SQL> select * from v$version; BANNER ——————————————————————————– Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 – 64bit Production PL/SQL Release 11.2.0.3.0 – Production CORE 11.2.0.3.0 Production TNS for Linux: Version 11.2.0.3.0 – Production NLSRTL Version 11.2.0.3.0 – Production SQL> select * . . . → Read More: MINSCN与Cache Fusion Read Consistent

深入了解Oracle前滚恢复rolling forward(一)

偶然的一次,网友在t.askmaclean.com ASK Maclean Home提问了关于11.2 上一个ORA-600问题的解决途径,我们这里不讨论该ORA-600[kcratr_nab_less_than_odr]错误, 比这个错误本身更有趣的是 该600 trace中记录了一段对于前滚恢复rolling upgrade描述十分详细的KST trace。

 

 

很多网友肯定要问什么是KST? KST是9i以后引入的内部诊断机制Tracing Facility,每一个Oracle 进程都维护SGA中的一小块Trace buffer,并将自身的默认启用的一些event事件信息写入到Trace Buffer中(这些事件默认包括10280, 10401, 10441, 10442, 10425, 10427, 10429, 10434, 10666),可以使用内部视图x$trace观察这些信息,默认Trace Buffer不写到磁盘上,而只在SGA中维护,当Trace Buffer用完时将被重用。

 

了解了 KST的知识后,我们可以从容地阅读下面这段TRACE了:

 

 

 

Trace Bucket Dump Begin: default bucket for process 19 (osid: 29785) TIME(*=approx):SEQ:COMPONENT:FILE@LINE:FUNCTION:SECT/DUMP: [EVENT#:PID:SID] DATA

 

以上是KST Trace的 头部 COMPONENT 组件名 例如 . . . → Read More: 深入了解Oracle前滚恢复rolling forward(一)

Oracle Database Appliance ODA开箱视频

Oracle Database Appliance ODA开箱视频

 

 

直面ODA(Oracle Database Appliance)RAC一体机

在《Database Appliance并非Mini版的Exadata-还原真实的Oracle Unbreakable Database Appliance》一文中,我分享了一些ODA官方白皮书中了解到的技术细节。

实际接触到Oracle Database Appliance,这个原本号称mini版的Exadata一体机(后台被证实不是),还是在昨天。

 

 

 

 

_external_scn_rejection_threshold_hour

1?Warning – High Database SCN: Current SCN value is 0x0b7b.0008e40b, threshold SCN value is 0x0b75.055dc000 If you have not previously reported this warning on this database, please notify Oracle Support so that additional diagnosis can be performed. 2?Warning: The SCN headroom for this database is only NN days! 3?Warning: The SCN headroom for this database . . . → Read More: _external_scn_rejection_threshold_hour

My Oracle Support Metalink站点最近将放弃flash界面转而使用ADF HTML

supporthtml_mos

根据oracle官方博客的报道《The New My Oracle Support User Interface (HTML-based) 》, MY ORACLE SUPPORT开发team会在最近将support.oracle.com站点从原来的flash界面迁移到基于ADF HTML的用户界面上。

 

实际上在2012年的 January 27, MOS开发team就启动了 <My Oracle Support HTML-based user interface (UI)>,该新款UI直接架设在原supporthtml.oracle.com域名上, 该域名之前一直作为legacy html MOS的入口,旧的非flash版Metalink的入口。 新的用户界面基于oracle自身的Application Development Framework ADF HTML技术,迁移的第一步是使该HTML-based user interface对customer CT用户和parnter online在线可用, 后续oracle官方计划让所有的用户都升级到这个ADF HTML-based UI上, 换句话说 support.oracle.com 最终会使用 HTML UI。

 

在 2012年的 April 13 ,MOS development team有计划地已经对HTML-based user interface做了进一步的增强;  . . . → Read More: My Oracle Support Metalink站点最近将放弃flash界面转而使用ADF HTML

Ask Maclean论坛礼仪需知及学习oracle的方法论

发帖者们、Oracle骨友们请关注以下t.askmaclean.com 提问版的常见论坛礼仪规则:

 

1.

当有Oracler提出一个问题时,我们称之为打开一个线程,准确地说open a thread。 我们总是希望提问者能够尽可能多地提供细节,这将帮助 maclean 和 其他的热心网友 更准确地、更高效地回复这个thread 。如果网友对该问题已经做了一定地研究,且找到了一些相关的文档(document)那么是更perfect的, 把你知道的事实和线索毫不吝啬地贴出来,这将有益于你我, 好的问题使提问者和回答者均受益, 不好的问题 例如无意义的问题 或者三无的thread 只会浪费彼此的时间。

我们讨厌那些 三无的thread (指问题描述不清,无描述、无日志、无后续), 它们像害虫一样出现在版面上, 大多数人不会为三无的thread浪费时间 , maclean 可能会向 发帖者索要更多的细节, 但这往往是徒劳的, 耐心将很快耗尽, 毕竟我们是在网络上的无偿的友情技术帮助。

不要和 任何人强调你有多么 ”急、紧急“, 紧急的问题应当上报并要求服务厂商到现场诊断帮助,不是去论坛求助。

此外 的另一点忠告是,如果希望学好oracle,那么不要老是去截图, 发现很多poster 对着 command line或其他文字界面都喜欢去截一个图, maclean难以理解其中诡异的逻辑。 图片介质是难以SEO的,或者说难以被索引化和整理的,由图片承载的知识很难被传播下去, 当然示意图、图表这类例外 。 oracle是一个庞大的体系, 其知识需要组织和细分,对知识的记忆和存储很重要。

希望大家能体会到文字背后的伟大思辨,并对文字描述更敏感一些,这是我个人的一些体验。

 

 

2.

如果第一点是针对poster提问者的话,那么第二点是针对回答者的。 回答问题的时候请尽可能保持 . . . → Read More: Ask Maclean论坛礼仪需知及学习oracle的方法论

Oracle Database 11g R2 在Oracle Linux 6上获得认证

在美国时间的2012年的3月22日Oracle官方认证了oracle Linux 6上的Oracle Database 11gR2 ,这要说起有那么一点点绕口,但是我相信既然这些产品都已经是oracle的了,那么今后的Certification认证速度将更那么及时一点。  好了 , OEL 6+ DB 11gR2的组合认证是我们等了很久的了,实际上相信有不少朋友已经成功安装并且在使用这样的组合了。

Oracle官方声明将继续支持客户在RHEL 6上运行Oracle database 11gR2 ,且保持与Redhat Linux的兼容性(当然如果你想要11gR2的完整体验,例如smart flash cache特性的话,那么你仍需要Oracle Linux 6 ):

 

Oracle Database 11g Release 2 (R2) and Oracle Fusion Middleware 11g Release 1 (R1) are immediately available on Oracle Linux 6 with the Unbreakable Enterprise Kernel. Oracle Database 11g R2 and . . . → Read More: Oracle Database 11g R2 在Oracle Linux 6上获得认证