标签:oracle
1.以下操作均在ASM里面进行:
SQL> show parameter power; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ asm_power_limit integer 1 SQL> alter system set asm_power_limit=8; System altered. SQL> show parameter power; NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ asm_power_limit integer 8 SQL> select name,group_number from v$asm_diskgroup; NAME GROUP_NUMBER ------------------------------ ------------ DATA 2 CRS 1 Elapsed: 00:00:00.01
添加磁盘以前查询v$asm_operation ,是没有记录的:
SQL> select INST_ID, OPERATION, STATE, POWER, SOFAR, EST_WORK, EST_RATE, EST_MINUTES from GV$ASM_OPERATION where GROUP_NUMBER=2; no rows selected Elapsed: 00:00:00.04
执行添加磁盘的操作:
SQL> select INST_ID, OPERATION, STATE, POWER, SOFAR, EST_WORK, EST_RATE, EST_MINUTES from GV$ASM_OPERATION where GROUP_NUMBER=2; INST_ID OPERA STAT POWER SOFAR EST_WORK EST_RATE EST_MINUTES ---------- ----- ---- ---------- ---------- ---------- ---------- ----------- 1 REBAL WAIT 8 1 REBAL WAIT 8 2 REBAL RUN 8 52 4407 266 16 2 REBAL WAIT 8 0 0 0 0 Elapsed: 00:00:00.01
可以看到oracle 估算16分钟完成
查看进程:
[root@rac12c2 ~]# ps -fu grid | grep arb grid 7130 1 0 13:19 ? 00:00:01 asm_arb0_+ASM2
同时看ASM 的alert日志:
$ pwd /oracle/app/grid/diag/asm/+asm/+ASM2/trace $ ls alert* alert_+ASM2.log
标签:oracle
原文地址:http://7642644.blog.51cto.com/7632644/1690100