CRS troubleshooting 两例

September 11, 2012 oracle, RAC No comments

一套10.2.0.5 RAC 系统 evmd cssd服务无法启动

CRS version

[oracle@ptdb02 oracle]$ crsctl query crs softwareversion
CRS software version on node [ptdb02] is [10.2.0.5.0]

h1:3:respawn:/sbin/init.d/init.evmd run >/dev/null 2>&1 /dev/null 2>&1[……]

Read more

Resource Manager (2)

September 9, 2012 maintain, oracle No comments

对于需要使用资源控制的应用,oracle提出了resource manager这一解决方案,针对不同的schema,Oracle提供不同的资源等级,但是这种资源的分配其实本身就存在一定的资源消耗,当大量的session涌入数据库的时候,oracle需要消耗一定数量的cpu去重新分配资源的调级,此时就会伴随的大量resmgr:cpu quantum等待事件,下面总结一下这次的测试:

环境简述,本次测试resource manager采用oracle 11.2.0.3 平台为IBM power750小型机具体配置如下:

System Model: IBM,8233-E8B
Machi[......]

Read more

Exadata Smart Flash Logging

September 5, 2012 Exadata, oracle No comments

Oracle Exadata 从 11.2.2.4.0开始引入了 Smart Flash Logging的新特性,在exadata环境中,当oracle 需要写入日志的时候将会启动parallel write 同时在 disk 和 flash两端写入数据,controller中有任意一个率先写完就会通知RDBMS数据库继续工作, 该特性着力于提高Exadata对Redo写入的响应时间和吞吐量。(The feature allows redo writes to be written to both flash cache and disk controller cache, with an a[……]

Read more

11g Smart Flash Cache

August 30, 2012 11g, oracle, RAC No comments

整理一篇关于11g smart flash cache 的文章,vmcd

我们来做一下演示 采用FusionIO SLC 160G

[oracle@db-41 ~]$ ls -l /dev/fioa 
brw-r----- 1 oracle oinstall 252, 0 Jul 17 14:26 /dev/fioa


[root@db-41 dev]# fio-status

Found 1 ioDrive in this system
Fusion-io driver[......]

Read more

Capture binds always actually ?

August 28, 2012 Internals, oracle No comments

我们可以通过v$sql_bind_capture 捕获到 bind values 这篇文章主要阐述v$sql_bind_capture与v$sql_plan的一些联系

SQL*Plus: Release 11.2.0.3.0 Production on Tue Aug 28 14:07:13 2012

Copyright (c) 1982, 2011, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.[......]

Read more

Exadata offloading and Smart Scan

August 25, 2012 Exadata, oracle No comments

同事aaqwsh做的关于Exadata-X2-2的smart scan总结[……]

Read more

FUJITSU-RX600 测试报告

August 21, 2012 Architect, hardware No comments

[……]

Read more

11gR2 RAC listener

August 18, 2012 network, oracle No comments

oracle 11gR2 rac listener引入了3项主要的改变:

1. listener默认owner为grid

[oracle@db-42 ~]$ srvctl config listener
Name: LISTENER
Network: 1, Owner: grid
Home:
End points: TCP:1521

2. listener 被oracle agent 所管理 (oraagent)
[grid@db-41 admin]$ ps -ef |grep oraagent
grid 22195 18519 0 16:42 pts[……]

Read more

处理坏块一例(2)

August 17, 2012 Internals, maintain, oracle 2 comments

帮朋友check一次中国银联数据库的坏块问题(并不是严格意义上的坏块),大致情况为smon需要trascation recover —>特定的block 发现无法读取 —>transaction recover出现问题 —>smon terminated

Wed Aug 15 19:02:57 2012
SMON: Parallel transaction recovery slave got internal error
SMON: Downgrading transaction recovery to serial
Wed Aug 15 19:02:57 2012
Er[……]

Read more

Scripts: 查找每年特定星期x的日期

August 10, 2012 maintain, oracle No comments

11g之前还不支持分区自动interval day 功能,对于需要指定日期的分区需求例如每周2一个分区,可以采用下面脚本实现

select  'alter table END_USER_LOGIN_LOG_1 add partition P'|| TO_CHAR(a,'YYMMDD') ||  

' values less than (TO_DATE(''' || TO_CHAR(a,'YYYY-MM-DD HH24:MI:SS') 

|| ''[......]

Read more