oracle-database-operator icon indicating copy to clipboard operation
oracle-database-operator copied to clipboard

Support ECPU compute model and GB storage size for ADBs

Open ting-lan-wang opened this issue 2 years ago • 1 comments

The current OraOperator doesn't support ECPU compute model and GB Storage size for Autonomous Database. They should be supported as both compute modules and GB storage size are available when an ADB is provisioned.

ting-lan-wang avatar Nov 01 '23 19:11 ting-lan-wang

@ting-lan-wang we need this. ADB-S operates with cpuCoreCount equal to ECPU while ADB-D can operate with cpuCoreCount being either OCPU or ECPU (depending on how it's provisioned). Besides having in the spec:

spec.details.cpuCoreCount

consider adding:

spec.details.cpuType

In ADB-S the type can be ignored. In ADB-D it has to be read to adapt the ADB-D instance provisioning call to OCI. I suppose it can be ignored on scaling operations as it will scale based on the already assigned CPU type. Tests also need to be provided.

germanviscuso avatar Apr 30 '24 13:04 germanviscuso