Oracle ASM的AU(Allocation units)分配
2012-05-11 14:24
218 查看
Oracle ASM的AU(Allocation units)分配
作者:eygle |English Version 【转载时请以超链接形式标明文章出处和作者信息及本声明】
链接:http://www.eygle.com/archives/2009/08/oracle_asmauall.html
ASM在分配空间时,以AU为单位进行,AU即Allocation units,是组成ASM disk的基本单元。
在Oracle 10gR2中,ASM AU的缺省单位大小是1M,相应的条带大小是128K。
在ASM中,可以通过调整_asm_ausize隐含参数的大小来进行调整,_asm_stripesize控制相应的条带化参数。
从v$asm_diskgroup视图可以查询得到相关的信息:
SQL> select group_number,name,sector_size,block_size,allocation_unit_size from v$asm_diskgroup;
GROUP_NUMBER NAME SECTOR_SIZE BLOCK_SIZE ALLOCATION_UNIT_SIZE
------------ ------ ----------- ---------- --------------------
1 ARCHDG 512 4096 1048576
2 DATADG 512 4096 1048576
在Oracle Database 11g中,可以通过类似如下语句在创建磁盘组时指定au_size:
SQL> CREATE DISKGROUP DATA DISK '/dev/raw/raw15', '/dev/raw/raw16',
'/dev/raw/raw17' ATTRIBUTE 'au_size' = '16M', 'compatible.asm' = '11.1' 'compatible.rdbms' = '11.1';
ASM允许的相关参数可以从DB的实例中查询获得,以下是一系列和asm相关的初始化参数:
SQL> SELECT x.ksppinm NAME, y.ksppstvl VALUE, x.ksppdesc describ
2 FROM SYS.x$ksppi x, SYS.x$ksppcv y
3 WHERE x.indx = y.indx AND x.ksppinm LIKE '%&par%';
Enter value for par: asm
old 3: WHERE x.indx = y.indx AND x.ksppinm LIKE '%&par%'
new 3: WHERE x.indx = y.indx AND x.ksppinm LIKE '%asm%'
NAME VALUE DESCRIB
------------------------------ -------------------- ------------------------------------------------------------
asm_diskstring disk set locations for discovery
_asm_disk_repair_time 14400 seconds to wait before dropping a failing disk
asm_diskgroups disk groups to mount automatically
asm_power_limit 1 number of processes for disk rebalancing
_asm_ausize 1048576 allocation unit size
_asm_blksize 4096 metadata block size
_asm_acd_chunks 1 initial ACD chunks created
_asm_libraries ufs library search order for discovery
_asm_maxio 1048576 Maximum size of individual I/O request
_asm_allow_only_raw_disks TRUE Discovery only raw devices
_asmlib_test 0 Osmlib test event
NAME VALUE DESCRIB
------------------------------ -------------------- ------------------------------------------------------------
_asm_allow_resilver_corruption FALSE Enable disk resilvering for external redundancy
_asmsid asm ASM instance id
_asm_wait_time 18 Max/imum time to wait before asmb exits
_asm_stripewidth 8 ASM file stripe width
_asm_stripesize 131072 ASM file stripe size
_asm_droptimeout 60 timeout before offlined disks get dropped (in 3s ticks)
_asm_emulmax 10000 max number of concurrent disks to emulate I/O errors
_asm_emultimeout 0 timeout before emulation begins (in 3s ticks)
_asm_kfdpevent 0 KFDP event
20 rows selected.
相关文章推荐
- Oracle ASM的AU(Allocation units)分配
- Oracle ASM的AU(Allocation units)分配
- [置顶] Oracle 11g asm中不同au size下datafile的au分布初探
- Oracle 11g asm中不同au size下datafile的au分布初探
- Oracle ASM - 概念之AU,分区,条带,模板
- Oracle ASM的AU(Allocation Units)
- 【Oracle RAC+DG实验】Oracle RAC+ASM+DataGuard配置实验记录+常见问题
- Linux平台上配置Oracle ASMLib和磁盘多路径
- Oracle 12c ASM|专题配额组的配额真的管用吗?
- ORACLE 10G 迁移至ASM过程小结
- 分享一个Linux下安装ASM+ORACLE的自动化脚本(二)
- Oracle ASM 详解(其四)
- Quick tutorial to configure Oracle Restart without ASM
- ORACLE ASM知识储备
- Redhat 5.4 + ASM + RAW+ Oracle 10g RAC 安装文档
- oracle 11g 数据库, 创建表空间, 修改表空间, 创建用户,并将用户分配给表空间,将dmp
- Oracle ASM存储方式浅析
- Oracle asm介绍和安装linux+oracle10g+asm过程
- 创建oracle实例报错ora-28056从ASM拷贝文件的方法
- 浅析Oracle用户权限分配的具体方法