Converting a DB System from OCPU to ECPU
You can convert a DB system created with an OCPU shape to use an ECPU shape.
A DB system can have different setups. It can be a standalone or high availability DB system. It may have an attached HeatWave cluster and it may have one or more read replicas. These have to be taken into consideration when converting the DB system from OCPU to ECPU shape.
- Step 1: If the DB system has an attached HeatWave cluster that uses a HeatWave node based shape such as MySQL.HeatWave.VM.Standard, you need to convert the HeatWave cluster shape to a HeatWave capacity shape such as HeatWave.32GB or HeatWave.512GB.
- Step 2: If the DB system has an OCPU shape, you need to convert the DB system to use an ECPU shape. When you change the shape, you also need to change the configuration to a configuration that matches the shape. If the DB system uses a custom configuration, you should create a new custom configuration for the ECPU shape and copied the customized variables to the new configuration. See Creating a Custom Configuration for standalone DB system and Copying a Configuration for high availability DB system.
- Step 3: If the DB system has any read replica with OCPU shapes, you need to convert each of them to ECPU shape. You also need to change the configuration to a configuration that matches the shape.
Alternatively, you can use the backup and restore method to create a new DB system with ECPU shape. If you have a custom configuration in the DB system or read replicas, you need to create a new custom configuration for the ECPU shape that you want to use. See Creating a Custom Configuration for standalone DB system and Copying a Configuration for high availability DB system.
Using the Console
Use the Console to convert a DB system from OCPU to ECPU.
- If you have a custom configuration for the OCPU shape, you should create a custom configuration for the ECPU shape with similar variable settings. See Creating a Custom Configuration for standalone DB system and Copying a Configuration for high availability DB system.
Using the CLI
Use the command-line interface to convert a DB system from OCPU to ECPU.
- A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
- The DB system Oracle Cloud Identifier (OCID).
- The configuration OCID of the ECPU shape.
Using Backup and Restore Method
Use the backup and restore method to convert a DB system from OCPU to ECPU.
The method cannot retain the IP addresses of the DB system and read replicas endpoints.
If you have a custom configuration for the OCPU shape, you should create a custom configuration for the ECPU shape with similar variable settings. See Creating a Custom Configuration for standalone DB system and Copying a Configuration for high availability DB system.