Enabling Performance-based Autotuning for an Existing Block Volume
Learn how to enable performance-based autotuning to automatically adjust an existing block volume's performance between levels you specify.
- On the Block Volumes list page, find the volume that you want to work with. If you need help finding the list page or the volumes, see Listing Volumes.
- From the for the volume, select Edit.
- In the Edit block volume (or Edit volume) panel, under Target volume performance, turn on Performance based auto-tune.
- Select Save changes.
Use the
oci bv volume update
command and specify the--volume-id
,--compartment-id
and--autotune-policies
parameters to enable performance-based autotuning:oci bv volume update --volume-id <volume_ID> --compartment-id <compartment_ID> --autotune-policies <auto-tune_policies_JSON>'
For example:
oci bv volume update --volume-id ocid1.volume.oc1.phx.<unique_ID> --compartment-id ocid1.compartment.oc1.phx.<unique_ID> --autotune-policies '[{"autotune-type": "PERFORMANCE_BASED", "maxVpusPerGB": 50}]''
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the
UpdateVolume
operation and specify theautotunePolicies
attribute in theUpdateVolumeDetails
resource to enable performance-based autotuning.