Why ASMLIB and why not?

October 19, 2011 oracle, RAC 2 comments

ASMLIB是一种基于Linux module,专门为Oracle Automatic Storage Management特性设计的内核支持库
(kernel support library)。
长久以来我们对ASMLIB的认识并不全面,这里我们来具体了解一下使用ASMLIB的优缺点。

理论上我们可以从ASMLIB API中得到的以下益处:

总是使用direct,async IO
1.解决了永久性设备名的问题,即便在重启后设备名已经改变的情况下
2.解决了文件权限、拥有者的问题
3.减少了I/O期间从用户模式到内核模式的上下文切换,从而可能降低cpu使用率
4.减少了[……]

Read more

NBU 异机恢复测试

October 19, 2011 backup 8 comments

一、搭建恢复测试环境

安装操作系统
操作系统安装,过程略

硬件配置:
# hostname
nbutest
#prtconf
System Model: IBM,7026-B80
Machine Serial Number: 10960AF
Processor Type: PowerPC_POWER3
Number Of Processors: 1
Processor Clock Speed: 375 MHz
CPU Type: 64-bit
Kernel Type: 64-bit
LPAR Info: -1 NULL
Memory Size: 4096[……]

Read more

sqlnet.ora 控制访问IP

October 19, 2011 network, oracle 3 comments

sqlnet.ora中进行下列参数的设置可以限制或允许用户从特定的客户机连接到数据库中

[root@Hong ~]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:29:24:93:F5
inet addr:192.168.1.99 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe24:93f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX pa[……]

Read more

Using TUNE_MVIEW and EXPLAIN_REWRITE to enable us to tune MV Fast Refreshes and Query Rewrites

October 17, 2011 advanced tech, oracle 7 comments

We can use the DBMS_MVIEW.EXPLAIN_REWRITE package (which was first introduced in Oracle 9i if memory serves me right) to diagnose why Query redirection to a materialized view is not happening.
We can redirect the output to a table called REWRITE_TABLE which is created via the utlxrw.sql script loca[……]

Read more

Ovpass 创建步骤

October 17, 2011 backup No comments

ovpass创建步骤
1、找出对应的光纤卡(粗体字),此处为fscsi1:
[21:58:27 root@billdg /]# lsdev -C |grep I/O
fscsi0 Available 03-00-02 FC SCSI I/O Controller Protocol Device
fscsi1 Available 05-00-02 FC SCSI I/O Controller Protocol Device
vio0 Available Virtual I/O Bus
[22:00:10 root@billdg /]# l[……]

Read more

exchange 备份错误

October 17, 2011 backup 2 comments

错误状态:

之前备份都正常,日志正常清除,NBU配置都正常,找不出可更改选项。
备份时报如下错误,且日志不能清除,造成系统空间报警:
2010-9-3 18:32:41 – Error bpbrm(pid=876580) 从客户端 SHHQ-Mail13: 出错 – failure reading file:
Microsoft Information Store:\First Storage Group\Log files (BEDS 0xE000FE7C: )
2010-9-3 18:33:14 – Error bpbrm(pid=876580) 从客户端 SHHQ-Mai[……]

Read more

ORACLE – 9i to 10g database Upgrade using DBUA.

October 17, 2011 migration, oracle No comments

Purpose of this document is to show a complete 9i to 10g upgrade of an Oracle database on

AIX 5L using DBUA ( Database Uprgrade Assistant)
3.2 TECHNICAL SOLUTION
10g upgrade from 9.2.06 to 10.2.0.3 for any database -:
Check the init.ora parameter file in the 9I ORACLE_HOME/dbs
Make sure the[……]

Read more

WordPress添加并整合Google自定义搜索

October 16, 2011 system No comments

给WordPress添加Google自定义搜索很简单,甚至有些WordPress主题已经提供了Google自定义搜索,你只要填写上Google自定义搜索的CX值即可。但显示搜索结果的页面都是在单独的窗口中打开,没有了原窗口的样式,所以我们可以将Google自定义搜索整合到博客中。

由于各种主题的添加方法不同,这里只说一下比较简单的方法:网上大多数是自己创建一个cse.php文件来单独的控制CSS和填写Google自定义搜索代码,但我觉得直接把Google自定义搜索代码添加到搜索页模板中,要更加简单,大多数情况下你你基本不需要在去定义CSS。

1、用 Google帐号登录 http:[……]

Read more

Hello world!

October 16, 2011 system 1 comment

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging![……]

Read more