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.

    1. 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.
    2. From the Actions menu (three dots) for the volume, select Edit.
    3. In the Edit block volume (or Edit volume) panel, under Target volume performance, turn on Performance based auto-tune.
    4. 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 the autotunePolicies attribute in the UpdateVolumeDetails resource to enable performance-based autotuning.