In this example, the ALTER
command is needed to change
compatible.rdbms
for the disk group created
during installation to hold the OCR and voting disks. The
compatible.rdbms
attribute is set to 11.2.0.2 in
order to support Oracle Database release
11.2.0.2 and later release databases in a consolidated
environment.
CREATE DISKGROUP data HIGH REDUNDANCY
DISK 'o/*/DATA*'
ATTRIBUTE 'AU_SIZE' = '4M',
'content.type' = 'data',
'compatible.rdbms'='11.2.0.4',
'compatible.asm'='19.0.0.0';
SQL> CREATE DISKGROUP reco HIGH REDUNDANCY
DISK 'o/*/RECO*'
ATTRIBUTE 'AU_SIZE' = '4M',
'content.type' = 'recovery',
'compatible.rdbms'='11.2.0.4',
'compatible.asm'='19.0.0.0';
REM for Exadata systems prior to X7
SQL> ALTER DISKGROUP dbfs_dg SET ATTRIBUTE
'content.type' = 'system',
'compatible.rdbms' = '11.2.0.4';
When creating sparse disk groups, use a command similar to the following:
SQL> CREATE DISKGROUP sparsedg NORMAL REDUNDANCY
DISK 'o.*/sparse_*'
ATTRIBUTE 'AU_SIZE' = '4M',
'content.type' = 'data',
'cell.smart_scan_capable'='TRUE',
'compatible.rdbms' = '12.1.0.2',
'compatible.asm' = '19.0.0.0',
'cell.sparse_dg' = 'allsparse';
In the preceding command, the cell.sparse_dg
attribute defines the
disk group as a sparse disk group. The attribute is not required if the disk group
is not a sparse disk group.
Note:
- When defining sparse grid disks, the
compatible.asm
and compatible.rdbms
attributes must be at least 12.1.0.2.0
.
- The Oracle ASM disk group
compatible
attributes take precedence over the COMPATIBLE
initialization parameter for the Oracle ASM instance.
- The Oracle Database and Oracle Grid Infrastructure software must be release 12.1.0.2.0 BP5 or later when using sparse grid disks.
- The recommended allocation unit size
(
AU_SIZE
) is 4 MB for Oracle ASM disk groups on
Exadata.