11.2.0.3中Oracle引入了_cursor_obsolete_threshold隐藏参数,默认为100,表示一个parent cursor最多可以有100个child cursor;如果SQL需要第101个child cursor,则将该parent cursor and its 100 child cursor设置为obsoleted,并且重新生成新的parent cursor. 但是那些过期的child cursor不会从v$sql中消失,dbms_shared_pool.purge也无法将这些过期的child cursor flush出去,Oracle正在fix这个bug.[……]
[转] ASM Handling Block Corruptions
Some excellent experiment From Honcho
为了保护disks 上的数据,Oracle ASM 对disk groups 有3种冗余方式:
(1)external redundancy 表示Oracle不帮你管理镜像,功能由外部存储系统实现,比如通过RAID技术。
(2)normal redundancy(默认方式)表示Oracle提供2路镜像来保护数据。
(3)high redundancy 表示Oracle提供3路镜像来保护数据。
如果使用ASM的冗余,就是通过 ASM failure group 来实现。ASM使用的镜像算法并不是镜像整个[……]
Oracle Direct NFS Performance
在Oracle 11g中引入了Direct Network File System(Oracle Direct NFS)的新特性,通过一个打包在Oracle内核中的NFS client来提高使用NFS时的性能,DNFS同样适用于RAC等高可用场景。
DIRECT NFS CLIENT OVERVIEW
Standard NFS client software, provided by the operating system, is not optimized for Oracle Database file I/O access patterns. With Oracle D[……]
Logon Storm
A Logon storm is a sudden spike in the number of client connection requests. Logon storms can occur due to a variety of factors. They could be malicious like a DoS attack. Or they could occur due to administrative actions – such as a middle tier coming online.
The process of starting a database[……]
Incremental Statistics for Partitioned Tables in 11g
这篇文档是我们前leader wwf 写的分析文档,指出了incremental statistic针对partition table 的一些用法,并且指出了一些bug,看不了slideshare的TX可以直接下载Inc_Stat_For_PT.doc
针对这几个bug问题在11gR2下的表现 对这篇文档做了一个补充
第一个问题:It is only sensitive for newly load data[……]
Exadata X2-2 Hang死一例
Exadata不是万能的 一直觉得xd DB端的服务器太差,但是oracle总是可以理直气壮的说我们卖的不是硬件是软件.垃圾SQL压死Exadata还是很容易的
系统为X2-2 Quarter rack Red Hat Enterprise Linux Server release 5.7 (Tikanga) [root@dm01cel02 ~]# imageinfo Kernel version: 2.6.18-274.18.1.0.1.el5 #1 SMP Thu Feb 9 19:07:16 EST 2012 x86_64 Cell version: OSS_11.[......]
LOB字段迁移浅谈
最近做了一次文描系统的迁移,涉及到大量的lob表,对于这种文描表的处理,其实不建议放在oracle 的lob字段中.对于LOB相信大家肯定遇到过各种问题
LOB的直接读写往往会对存储层面造成很大的压力,瞬间的并发严重的可能导致系统的崩溃.相信维护过秒杀系统的同学深有感触。
鉴于这次的迁移.总结了一点经验,对于文描这种应用(图书,药物等)首先应该考虑文件系统,在数据库层面通过指针来访问,其次可以考虑nosql的应用
(推荐mongodb),对于这次的迁移来说考虑了以下几种方式:
示例表为:
[oracle@db-2-16 ~]$ ora bigtable
OWNER[……]
Oracle Platinum Services
Oracle的白金服务是一种Oracle标准支持下的特殊权利,为客户提供标准合同范畴外的额外服务,以最大的提升Exadata的用户的客户体验,生产机器将在oracle所提供的标准化配置中与oracle总部的call center保持双向连通。Oracle的白金服务代表了一种新的模式,为客户提供了可以与远程工程师一起troubleshooting的机会,Exadata的故障将由远程call center响应如远程故障监测等,更快的响应速度和恢复时间,更新和修补程序部署,无需支付任何额外费用。 Oracle的白金服务远远超出了传统意义上的IT支持。
目前ORACLE对Exadata,Ex[……]
Solaris 10g CRS 自动reboot一例
最近RAC 的case实在太多,越来越觉得公司逐渐去rac的正确。一套sunOS的系统 在安装完crs 10g之后 服务器不停的自动reboot,具体环境如下:
root@bmsa#showrev Hostname: bmsa Hostid: 84f94303 Release: 5.10 Kernel architecture: sun4v Application architecture: sparc Hardware provider: Oracle Corporation Domain: Kernel version: SunOS 5.10 Generic_14[......]
记一次严重事故 — DBA 做任何操作前 都需要谨慎
国庆回来之后没怎么更新blog 一直在处理两个事故 最严重的一次事故发生在10月10号凌晨:
朋友在mv datafile的过程中使用了rm的命令 本意是想删除之前的datafile来释放空间,结果由于之前敲过一条命令 “alter database rename file ‘xxxx’ to ‘yyyy’ ” 最后阴差阳错的敲成了rm alter database rename file ‘xxxx’ to ‘yyyy’ 瞬间将两份system01.dbf 删除.由于之后没有保护好现场 导致新的目录产生了大量的读写操作,并且原来的一份system01.dbf存在于”/”目录 使得恢复[……]