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 create
command and specify the--compartment-id
and--autotune-policies
parameters 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
CreateVolume
operation and specify theautotunePolicies
attribute in theCreateVolumeDetails
resource to enable performance-based autotuning.