Allocation Units
Every Oracle ASM disk is divided into allocation units (AU). An allocation unit is the fundamental unit of allocation within a disk group. A file extent consists of one or more allocation units. An Oracle ASM file consists of one or more file extents.
When you create a disk group, you can set the Oracle ASM allocation unit size with theAU_SIZE
disk
group attribute. The values can be 1, 2, 4, 8, 16, 32, or 64 MB, depending on the specific disk group compatibility level. Larger AU sizes typically provide performance advantages for data warehouse applications that use large sequential reads.
For information about specifying the allocation unit size for a disk group, see"Specifying the Allocation Unit Size". For information about disk group compatibility attributes, see"Disk
Group Compatibility".
Specifying the Allocation Unit Size
Oracle recommends that the allocation unit (AU) size for a disk group be set to 4 megabytes (MB). In addition to this AU size recommendation, the operating system (OS) I/O size should
be set to the largest possible size.
Some benefits of a 4 MB allocation unit are:
-
Increased I/O through the I/O subsystem if the I/O size is increased to the AU size.
-
Reduced SGA size to manage the extent maps in the database instance.
-
Faster datafile initialization if the I/O size is increased to the AU size.
-
Increased file size limits.
-
Reduced database open time.
The allocation unit size is specified with the disk group attributeAU_SIZE
. The AU size cannot be altered after a disk group is created.Example
4-1shows how theAU_SIZE
is specified with theCREATE
DISKGROUP
SQL statement.
{
Example Creating the DATA disk group
{
CREATE DISKGROUP data NORMAL REDUNDANCY
FAILGROUP controller1 DISK
'/devices/diska1' NAME diska1,
'/devices/diska2' NAME diska2,
'/devices/diska3' NAME diska3,
'/devices/diska4' NAME diska4
FAILGROUP controller2 DISK
'/devices/diskb1' NAME diskb1,
'/devices/diskb2' NAME diskb2,
'/devices/diskb3' NAME diskb3,
'/devices/diskb4' NAME diskb4
ATTRIBUTE 'au_size'='4M',
'compatible.asm' = '11.2',
'compatible.rdbms' = '11.2',
'compatible.advm' = '11.2';
}
Disk Group Compatibility
This section describes disk group compatibility under the following topics:
Overview of Disk Group Compatibility
Advancing the disk group compatibility settings enables you to use the new Oracle ASM features that are available in a later release. For example, a disk
group with the disk group compatibility attributes set to 11.2 can take advantage of new Oracle 11grelease 2 (11.2) features, such as Oracle ASM volumes in disk groups and Oracle ASM File Access Control.
SeeTable 4-3for the features enabled for combinations of compatibility attribute settings.
The disk group compatibility feature also enables environments to interoperate when they use disk groups from both Oracle Database 10gand Oracle Database 11g.
For example, disk group compatibility settings that are set to Oracle Database 10genable an Oracle 10gclient to access a disk group created with Oracle
ASM 11g.
The disk group attributes that determine compatibility areCOMPATIBLE.ASM
,COMPATIBLE.RDBMS
. andCOMPATIBLE.ADVM
.
TheCOMPATIBLE.ASM
andCOMPATIBLE.RDBMS
attribute settings determine the minimum Oracle Database software version numbers that a system can use for Oracle
ASM and the database instance types respectively. For example, if the Oracle ASM compatibility setting is11.2
, and RDBMS compatibility is set to 11.1, then the Oracle ASM software version must be at least11.2
,
and the Oracle Database client software version must be at least11.1
. TheCOMPATIBLE.ADVM
attribute determines whether the Oracle ASM Dynamic Volume Manager
feature can create an volume in a disk group.
When you create a disk group, you can specify the disk group compatibility attribute settings in theCREATE
DISKGROUP
SQL statement.
TheALTER
DISKGROUP
SQL statement can update the compatible attribute settings for existing disk groups. If not specified when using theCREATE
DISKGROUP
SQL
statement,10.1
is the default setting for both theCOMPATIBLE.ASM
andCOMPATIBLE.RDBMS
attributes for
Oracle ASM in Oracle Database 11g. TheCOMPATIBLE.ADVM
attribute is empty if it is not set. SeeTable
4-2for examples of valid combinations of compatible attribute settings.
You can set and update disk group attributes with the ASMCMDsetattr
command. For information about the ASMCMDsetattr
command,
see"setattr".
Notes:
-
The disk group compatibility settings determine whether your environment can use the latest Oracle ASM features.
-
The disk group compatibility settings can only be advanced; you cannot revert to a lower compatibility setting. See"Reverting
Disk Group Compatibility".
-
TheCOMPATIBLE.ASM
attribute must be advanced before advancing other disk group compatibility attributes and its value must be greater than or equal to the value of other disk group
compatibility attributes.
setattr
Purpose
Sets the attributes for an Oracle ASM disk group.
Syntax and Description
setattr
-G
diskgroup
attribute_name
attribute_value
Table 12-46lists the syntax options for thesetattr
command.
TheCOMPATIBLE.ASM
attribute must be advanced before advancing other disk group compatibility attributes and its value must be greater than or equal to the value of other disk group
compatibility attributes.
For information about disk group attributes, see"Disk Group Attributes".
Example
The following are examples of thesetattr
command. The first example sets the disk group attributeCOMPATIBLE.ASM
to11.2
for
thedata
disk group. The second example sets the disk group attributeCOMPATIBLE.RDBMS
to11.2
for thedata
disk
group.
Example 12-50 Using the ASMCMD setattr command
ASMCMD [+] > setattr -G data compatible.asm 11.2.0.0.0
ASMCMD [+] > setattr -G data compatible.rdbms 11.2.0.0.0
umount
Purpose
Dismounts a disk group.
Syntax and Description
umount
{
-a
| [
-f
]
diskgroup
}
Table 12-47lists the syntax options for theumount
command.
Example
The following are examples of theumount
command. The first example dismounts all disk groups mounted on the Oracle ASM instance. The second example forces the dismount of thedata
disk
group.
Example 12-51 Using the ASMCMD umount command
ASMCMD [+] > umount -a
ASMCMD [+] > umount -f data
OCP 题库考核
Q128. What is the default AU size of an ASM diskgroup? What is the maximum AU size in an ASM disk group?
A. 100KB default, 10TB maximum
B. 256KB default, 1024MB maximum
C. 10MB default, 126PB maximum
D. 64KB default, 1EB maximum
E. 1MB default, 64MB maximum
Answer: E
分享到:
相关推荐
包含如下oracleasm包: kmod-oracleasm-2.0.6.rh1-3.el6.x86_64.rpm oracleasm-2.0.8-4.el6_6.src.rpm oracleasm-2.0.8-6.el6_7.src.rpm oracleasm-2.0.8-8.el7.src.rpm oracleasm-2.0.8-15.el7.centos.src.rpm ...
kmod-oracleasm-2.0.8-15.el6_9.x86_64 oracleasm-support-2.1.8-1.el6.x86_64 oracleasmlib-2.0.4-1.el6.x86_64 安装顺序: rpm -ivh kmod-oracleasm-2.0.8-15.el6_9.x86_64.rpm rpm -ivh oracleasm-support-2.1.8...
kmod-oracleasm-*,oracleasmlib*,oracleasm-support*。 虽然现在oracle-rac基本上已经都是用UEDV的来固化UUID了但是有些同学还不太会,然后看的教程都是使用asmlib来制作的,但是自己上机以后发现根本装不上啊,...
oracleasm-2.6.18-194.el5-2.0.5-1.el5.x86_64.rpm oracleasmlib-2.0.4-1.el5.x86_64.rpm oracleasm-support-2.1.7-1.el5.x86_64.rpm kmod-oracleasm-2.0.8-15.el6_9.x86_64.rpm oracleasmlib-2.0.4-1.el6.x86_64....
oracleasm-2.6.18-128.el5-2.0.5-1.el5.i686.rpm oracleasmlib-2.0.4-1.el5.i386.rpm oracleasm-support-2.1.1-1.el4.i386.rpm X64: oracleasm-support-2.1.8-1.el5.x86_64.rpm oracleasmlib-2.0.4-1.el5.x86_64....
oracleasmlib-2.0.12-1.el7.x86_64.rpm oracleasm-support-2.1.11-2.el7.x86_64.rpm 安装ASM所需的包:适用于CentOS7
centos 7.4 asm安装包包括三个(kmod-oracleasm-2.0.8-19.0.1.el7.x86_64,oracleasmlib-2.0.12-1.el7.x86_64,oracleasm-support-2.1.8-3.el7.x86_64)
kmod-oracleasm-2.0.6.rh1-3.el6.x86_64.rpm和Oracleasmlib、Oracleasm-support,
oracle不使用oracleasm的包配置ASM磁盘配置方法
kmod-oracleasm-2.0.6.rh1-3.el6.x86_64.rpm kmod-oracleasm-2.0.8-4.el6_6.x86_64.rpm
ORACLE ASM ORACLE ASM ORACLE ASM ORACLE ASM ORACLE ASM ORACLE ASM ORACLE ASM ORACLE ASM ORACLE ASM
oracleasm-2.6.18-194.el5-2.0.5-1.el5.x86_64.rpm oracleasmlib-2.0.4-1.el5.x86_64.rpm oracleasm-support-2.1.3-1.el5.x86_64.rpm
linux4.8环境oracleasm插件64位,oracleasm-2.6.9-89.EL-2.0.5-1.el4.x86_64.rpm
centos 7 oracleasm-support el7 rpm 安装包
该压缩包中包含kernel-2.6.32-358.23.2.el6.x86_64.rpm(安装kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm时所依赖的内核包),kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm,oracleasmlib-2.0.4-1.el6.x86_64.rpm,oracle...
适用与redhat6.4安装oracleasm,kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm
kmod-oracleasm-2.0.6.rh1-2.el6.x86_64.rpm kmod-oracleasm-2.0.6.rh1-3.el6_5.x86_64.rpm
oracle asm存储的监控脚本,非常实用,类似于linux iostat 使用。 Output: DiskPath - Path to ASM disk DiskName - ASM disk name Gr - ASM disk group number Dsk - ASM disk number Reads - Reads Writes...
kmod-oracleasm-2.0.8-8.el7.x86_64.rpm oracleasm-centos7安装包