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


历史上的今天...
      >> 2009-02-17文章:
      >> 2008-02-17文章:
      >> 2007-02-17文章:
             新年快乐-百度已至 谷歌未达
      >> 2005-02-17文章:
------
这篇 【Oracle10g ASM Auto IO Rebalance新特性】来自 eygle.com | CSDN网摘| del.icio.us|Google订阅 | 鲜果订阅 | 抓虾订阅

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

相关文章 随机文章
  • Oracle 10g Linux ASMLib Install Notes
  • 如何 DUMP ASH 信息至跟踪文件
  • Oracle ASM的AU(Allocation units)分配
  • ASM的一张体系结构简图
  • 10g Profile FAILED_LOGIN_ATTEMPTS如何计数?
  • 《循序渐进Oracle》一书的购买途径
    Xp中关闭移动硬盘/U盘自动播放的方法
    OOW 2008 - Oracle Ace Director 活动
    NetApp FAS200系列 Fas250到货
    结束旅行,准备回京
    搜索本站:

    留言 (0)

    发表留言:



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



    CopyRight © 2004~2010 eygle.com, All rights reserved.