Oracle rebalance ASM disk group command

Source: Internet
Author: User

 

Alter diskgroup diskgroupname rebalance power 1

 

Alter diskgroup diskgroupname rebalance power 2

...

...

 

Alter diskgroup diskgroupname rebalance power 11

 

 

Use this clause to manually rebalance the disk group. Automatic
Storage Management redistributes datafiles evenly implements SS all drives.
This clause is rarely necessary, because Automatic Storage Management
Allocates files evenly and automatically rebalances diskgroups when
Storage configuration changes. However, it is useful if you want to use
ThePOWER
Clause to control the speed of what wowould otherwise be an automatic rebalance operation.


Power
InPOWER
Clause, specify a value from 0 to 11, where 0 stops the rebalance
Operation and 11 permits Automatic Storage Management to execute
Rebalance as fast as possible. The value you specify inPOWER
Clause defaults to the value ofASM_POWER_LIMIT
Initialization parameter.

If you omitPOWER
Clause, then Automatic Storage
Management executes both automatic and specified rebalance operations
The power determined by the value ofASM_POWER_LIMIT
Initialization parameter.


Wait | Nowait
Use this clause to specify when in the course of the rebalance operation control shoshould be returned to the user.

  • SpecifyWAIT
    To allow a script that adds or removes
    Disks to wait for the disk group to be rebalanced before returning
    Control to the user. You can explicitly terminate a rebalance operation
    Running inWAIT
    Mode, although doing so does not undo any completed disk add or drop operation in the same statement.

  • SpecifyNOWAIT
    If you want control returned to the user immediately after the statement is issued. This is the default.

You can monitor the progress of the rebalance operation by queryingV$ASM_OPERATION

Dynamic Performance view.

 

Note:V $ asm_operation
View in the ASM instance

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.