星期六, 六月 14, 2008

使用olsnodes验证节点

olsnodes命令用于显示Cluster中的节点及其相关信息

[oracle@rac1 ~]$ olsnodes -help
Usage: olsnodes [-n] [-p] [-i] [<node> | -l] [-g] [-v]
where
-n print node number with the node name
-p print private interconnect name with the node name
-i print virtual IP name with the node name
<node> print information for the specified node
-l print information for the local node
-g turn on logging
-v run in verbose mode

 查看全文

星期五, 六月 13, 2008

安装10g RAC时,下面两个错误可以忽略

在安装CRS和数据库软件时,运行CVU的报告中,下面两个错误可以忽略:1)Could not find a suitable set of interfaces for VIPs.2)特定的RPM包不存在

 查看全文

星期日, 六月 08, 2008

监听程序ASM服务的BLOCKED状态

默认情况下,监控器是不接受从别的节点联入ASM实例的。

因此为ASM创建的服务,状态是"BLOCKED",表示此实例不能接受连接。

 查看全文

星期六, 六月 07, 2008

RHEL3 U6上安装Oracle 9i

准备oracle 9i on linux的环境,记录下安装过程

 查看全文

星期四, 五月 29, 2008

ASM与CSS集群同步服务

CSS:Cluster Synchronization Service 集群同步服务
要使用ASM,必须确保已经运行了CSS集群同步服务,CSS负责ASM实例和数据库实例之间的同步。

 查看全文

星期三, 五月 28, 2008

ASM的后台进程、初始化参数和V$视图

基于10g ASM 查看全文

向现有的磁盘组加入/删除ASM磁盘

ASM磁盘组支持动态扩展,我们可以向现有的磁盘组动态加入新的磁盘,新磁盘加入后,Oracle通过后台RBAL进行Rebalance,将当前的数据均衡到新增加的磁盘上。Drop磁盘亦会Rebalance。

asm_power_limit参数用于控制Rebalance的速度,取值1~11,数字越大,平衡速度越快,默认值是1。如果该数字很大,则可能因为Rebalance而影响性能。也可以通过在alter diskgroup .. add/drop disk命令中通过rebalance power [1~11]选项控制Rebalance的速度。

 查看全文

在ASM Diskgroup间移动数据文件

首先在虚拟机中加入两个虚拟磁盘再创建额外的Diskgroup,然后模拟将一数据文件从一个ASM Diskgroup移动到另一个ASM Diskgroup上。

过程如下:

 查看全文

把数据库迁移到ASM

把数据库迁移到ASM示例: 查看全文

星期二, 五月 27, 2008

迁移数据文件到ASM

利用RMAN将数据文件迁移到ASM示例: 查看全文

星期一, 五月 26, 2008

ASM数据库的起停

ASM是Oracle 10g的新特性,它为DBA提供了一个统一的存储管理接口。

今天在虚拟机上建立了ASM的测试环境,后面一段时间,主要关注ASM。

 查看全文

星期六, 五月 24, 2008

About Unused Block Compression

When backing up datafiles into backup sets, RMAN does not back up the contents of data blocks that have never been allocated. (In previous releases, this behavior was referred to as NULL compression.) RMAN also skips other datafile blocks that do not currently contain data and this compression is called as Unused Block Compression, if all of the following conditions apply:

1) The COMPATIBLE initialization parameter is set to 10.2
2) There are currently no guaranteed restore points defined for the database
3) The datafile is locally managed
4) The datafile is being backed up to a backup set as part of a full backup or a level 0 incremental backup
5) The backup set is being created on disk or tape is MML is Oracle Secure Backup.

具体可见Metalink Note:563427.1


ORA_TEMP_%的临时表

数据库环境:Oracle 9.2.0.5 RAC on Solaris 9

今天在查看监控临时表空间耗用SQL的搜集数据的时候,发现在Node 1中有sys用户查询ora_temp_1_ds_xxxxx这样的表耗用了大量的临时表空间。

ora_temp_1_ds_xxxxx这些表是如何产生的呢?而且还多达一百多个...

 查看全文

星期二, 三月 25, 2008

遭遇Bug 5486074

遭遇ORA-00600: internal error code, arguments: [keltnfy-ldmInit], [46], [1], [], [], [], [], [],环境为AIX5.3+Oracle10.2.0.2.

 查看全文

星期五, 十二月 21, 2007

Oracle10gR2 RAC on RHEL4安装文档 by Tolywang

琦哥整理的Oracle10gR2 RAC on RHEL4安装文档

http://www.itpub.net/thread-913392-1-1.html

 查看全文