Associate an Oracle Java Cloud Service Instance with a Different Database
This topic does not apply to Oracle Cloud Infrastructure. Identify the Cloud Infrastructure Used by a Service Instance.
You might associate your service instance with a different database if:
-
Your service instance requires a database with a different version, edition, or capacity.
-
The current database has crashed or become corrupted, and can’t be restarted.
Note:
-
This operation is not supported for service instances running on Oracle Cloud Infrastructure regions.
-
This operation is not supported for service instances created before the Oracle Java Cloud Service release 17.4.1 (October 2017).
-
Both the original and the target Oracle Database Cloud Service deployment must be of type Single Instance. All other database types are not supported, including Database Clustering with RAC and Single Instance with Data Guard Standby.
-
Oracle Database Exadata Cloud Service is not supported.
You can only modify the association to the Infrastructure database for a service instance (the database that hosts the required Oracle WebLogic Server schemas). You cannot directly modify associations to other Application databases for a service instance. However, if the service instance’s Infrastructure database and Application database are associated with the same Oracle Database Cloud Service deployment, modifying the association for the Infrastructure database also modifies the association for the Application database.
You must enable backups on the Oracle Java Cloud Service instance prior to associating it with a different database deployment.
Before associating a service instance with a different infrastructure database, you must migrate the existing schema and data from the current database to the new database. Refer to these topics in Administering Oracle Database Cloud Service:
A new association is added to the Associations section of the Overview page. You can monitor the operation’s progress from this page or from the Activity page. After the operation completes successfully, the former database association is removed.
Prior to performing this operation, Oracle Java Cloud Service takes a backup of your service instance. If the operation fails, the service instance is automatically restored from this backup.