oracle rebalance参数,Oracle10g ASM Auto IO Rebalance新特性

Oracle10g ASM Auto IO Rebalance新特性

6ee5639a40442445944d63b514b2dd02.png

ASM ( Automatic Storage Management ) 的一个重要特性是可以进行在线磁盘重配置及动态均衡。

当我们向已有磁盘组中增加磁盘后,Oracle会自动进行IO均衡,为了完成这个任务,Oracle引入了一个新的后台进程:

[oracle@danaly ~]$ ps -ef|grep ora_rbal*

oracle    3815     1  0 Jan23 ?        00:00:01 ora_rbal_danaly

oracle   31601 23407  0 14:33 pts/2    00:00:00 grep ora_rbal*

这个进程用来进行IO均衡。

IO调整是自动进行的,并且这个平衡速度是可以控制的。

Oracle通过一个新增的参数:asm_power_limit 来控制速度。

该参数取值范围为1~11,参数值越大平衡速度越快。

Oracle文档对该参数解释为:

ASM_POWER_LIMIT specifies the maximum power on an Automatic Storage Management instance for disk rebalancing. The higher the limit, the faster rebalancing will complete. Lower values will take longer, but consume fewer processing and I/O resources.

If the POWER clause of a rebalance operation is not specified, then the default power will be the value of ASM_POWER_LIMIT.

该参数缺省值为1:

SQL> show parameter power

NAME                                 TYPE                   VALUE

------------------------------------ ---------------------- ----------------

asm_power_limit                      integer                1

该参数也可以在增加磁盘时指定:

SQL> alter diskgroup ORADG add disk 'ORCL:VOL6' rebalance power 11;

Diskgroup altered.

我们可以看一下,最初我的磁盘使用情况为:

SQL> select name,total_mb,free_mb from v$asm_disk;

NAME                   TOTAL_MB    FREE_MB

-------------------- ---------- ----------

2870          0

VOL1                      19077       6571

VOL2                      19077       6497

VOL3                      19077       6558

VOL4                      12228       4321

VOL6                     104187      97622

6 rows selected.

经过Oracle的自动调整均衡之后,磁盘空间使用情况变为:

SQL> select name,total_mb,free_mb from v$asm_disk;

NAME                   TOTAL_MB    FREE_MB

-------------------- ---------- ----------

2870          0

VOL1                      19077      13337

VOL2                      19077      13381

VOL3                      19077      13337

VOL4                      12228       8548

VOL6                     104187      72966

6 rows selected.

ASM在存储管理上实在是给我们带来了更多的便利之处。

参考文档:

历史上的今天...

>>

2009-02-17文章:

2008-02-17文章:

2007-02-17文章:

2005-02-17文章:

By eygle on 2006-02-17 14:04 |

Comments (0) |

Oracle12c/11g | 681 |

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值