Enabling Performance-based Autotuning for a New Block Volume
Learn how to enable performance-based autotuning when creating a new block volume to automatically adjust its performance between levels you specify.
This task can't be performed using the Console. Use the
oci bv volume createcommand and specify the--compartment-idand--autotune-policiesparameters to enable performance-based autotune for a new block volume:oci bv volume create --compartment-id <compartment_ID> --autotune-policies <auto-tune_policies_JSON>'For example:
oci bv volume create --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
CreateVolumeoperation and specify theautotunePoliciesattribute in theCreateVolumeDetailsresource to enable performance-based autotuning.