eygle.com   eygle.com
eygle.com  
 

« 扩展Oracle10gR2 ASM磁盘空间 | Blog首页 | EMC CX500最后一次扩容 »

Oracle10g ASM Auto IO Rebalance新特性

作者:eygle |【转载时请务必以超链接形式标明文章和作者信息及本声明
链接:

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在存储管理上实在是给我们带来了更多的便利之处。 

参考文档:

扩展Oracle10gR2 ASM磁盘空间

How to Use Oracle10g release 2 ASM

-----
这篇 【Oracle10g ASM Auto IO Rebalance新特性】来自 www.eygle.com | CSDN技术网摘| del.icio.us|365Key

By eygle on 2006-02-17 14:04 | Comments (0) | Posted to Oracle10g/11g | Edit |Pageviews:

相关文章 随机文章
  • Oracle 10g Linux ASMLib Install Notes
  • Oracle10g OCR及Voting Disk的备份
  • Patchset 10.2.0.4中关于ASM的Buglist
  • DBA警世录:使用ASM应当具备充分认识
  • Oracle10.2.0.3 RAC的VIP及实例依赖关系
  • 巴菲特超盖茨 一定要学会投资
    飘洋过海来看你
    DBA警示录:spfile是不能手工修改的
    Oracle9i新特点-判断是否使用了spfile
    EMC CX500再扩容量2T
    网上相关主题:
    Google

    留言 (0)

    发表留言:



    Remember Me?
    (输入验证码后方可评论,谢谢支持)



    CopyRight © 2004 eygle.com, All rights reserved.