11gr2安装Grid 时 node2 root.sh失败Start of resource “ora.asm -init” failed

Start of resource “ora.asm -init” failed
Failed to start ASM
Failed to start Oracle Clusterware stack

11gr2安装Grid 时 ins-40719 ins-40912

ins-40719 ipaddress configured for single client access name(scan):
rac-scan.anbob.com is already assigned to another system

ORA-00600: internal error code, arguments: [Skgmfail] 案例

数据库在运行一段时间后crash,遭遇ORA-00600: internal error code, arguments: [SKGMFAIL], [2], [4], [4], [1],重启后又可以正常运行。

Why not use index oracle? 为什么不用索引? 检查列表

sys_op_descend – Returns value as it would be used in a descending index. This is essentially
reverse() function with output in hex.

rdate 配置时间同步

[root@rac2 ~]# rdate -s 192.168.168.178

RAC那些事,概念

rac 全名Real Application Clusters,是ORACLE DATABASE 上的一个组件, 用共享存储的结构可以把1个数据库运行在多个分别计算的节点instance中 ,来提高了数据库的可用性,可以安装在企业版或标准版中,rac 出生于2001年的9I release 1, 以它的前身是oracle parallel server,rac 引入cache fusion机制提高实例间的资源同步。

Utilities-rlwarp, how to clear history command? do it

RLWRAP_HOME:
directory in which the history and completion files are kept.

RedHat LINUX el 安装UEK内核并安装ORACLE Validated RPM

Oracle为Linux推出了坚不可摧的企业级内核Unbreakable Enterprise Kernel, UEK是一个高速的、新式的、可靠的Linux内核,它们自己的Exadata Database Machine就是基于该内核,也是为oracle自己的软、硬个件优化过的内核

BITMAP CONVERSION FROM/TO ROWIDS

sql就是根据条件一走btree索引把rowid转换为BITMAP,条件二也是走另一个btree索引把rowid转换为另一个BITMAP,然后两个BITMAP 再做and 合并,合并后的结果再转换为ROWID,表再根据rowid取会行记录过滤没有在索引上的其它条件

oracle Memory Management 改进

Automatic Memory Management (AMM) 在ORACLE 11g中被引入,这是从OS级别内存管理的重大改变,回顾ORACLE的版本更新历程,内存管理也在逐步的更新

, ,

ORA-02049 ‘timeout: distributed transaction waiting for lock’ 解决

ORA-02049是一个分布式事务等待超时的异常,当一个session 持有一个行级锁,另一个分布式事务比如通过dblink也想修改相同行的数据,就会产生 tx队列等待,当等待时间超过了系统参数distributed_lock_timeout的值时,就产生了这个错误,任何通过通过DBLINK的操作都是分布式事物。