that the performance of the database goes down initially until the time the addition or removal process is
completed, and then gradually becomes normal.
Which two activities would you perform to maintain a consistent performance of the database while
adding or removing disks? (Choose two.)
A. Define the POWER option while adding or removing the disks.
B. Increase the number of ARB processes by setting up a higher value for ASM_POWER_LIMIT.
C. Increase the number of DBWR processes by setting up a higher value for
DB_WRITER_PROCESSES.
D. Increase the number of slave database writer processes by setting up a higher value for
DBWR_IO_SLAVES.
Answer: AB
http://docs.oracle.com/cd/E11882_01/server.112/e18951/asmdiskgrps.htm#OSTMG10080
Manually Rebalancing Disk Groups
You can manually rebalance the files in a disk group using the REBALANCE
clause of the ALTER DISKGROUP
statement. This would normally not be required, because Oracle ASM automatically rebalances disk groups when their configuration changes. You might want to do a manual rebalance operation to control the speed of what would otherwise be an automatic rebalance operation.
The POWER
clause of the ALTER
DISKGROUP
... REBALANCE
statement specifies the degree of parallelism, and thus the speed of the rebalance operation. It can be set to a minimum value of 0 which halts a rebalancing operation until the statement is either implicitly or explicitly re-run. A higher value increases the speed of the rebalance operation.
The default rebalance power is set by the ASM_POWER_LIMIT
initialization parameter. The range of values for the POWER
clause is the same for theASM_POWER_LIMIT
initialization parameter. For information about the ASM_POWER_LIMIT
initialization parameter, refer to "ASM_POWER_LIMIT".
The power level of an ongoing rebalance operation can be changed by entering the rebalance statement with a new level.
The ALTER DISKGROUP...REBALANCE
command by default returns immediately so that you can run other commands while the rebalance operation takes place asynchronously in the background. You can query the V$ASM_OPERATION
view for the status of the rebalance operation.
To cause the ALTER DISKGROUP...REBALANCE
command to wait until the rebalance operation is complete before returning, add the WAIT
keyword to the REBALANCE
clause. The wait functionality is especially useful in scripts. The command also accepts a NOWAIT
keyword, which invokes the default behavior of conducting the rebalance operation asynchronously. You can interrupt a rebalance running in wait mode by typing CTRL-C
on most platforms. This causes the command to return immediately with the message ORA-01013: user requested cancel of current operation
, and then continue the rebalance operation asynchronously.
ASM_POWER_LIMIT
Property | Description |
---|---|
Parameter type | Integer |
Default value | 1 |
Modifiable | ALTER SESSION , ALTER SYSTEM |
Range of values | 0 to 11 Foot 1 |
Oracle RAC | Multiple instances can have different values. |
Footnote 1 Beginning with Oracle Database 11g Release 2 (11.2.0.2), if the COMPATIBLE
.ASM
disk group attribute is set to 11.2.0.2 or higher, then the range of values is 0 to 1024.
Note:
This parameter may only be specified in an Automatic Storage Management instance. 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
.