Note:

Upgrade Oracle Database Cloud Service Database and Database System

Introduction

When you upgrade an existing Oracle Database environment (including installed components and associated applications) into a new release Oracle Database environment, the data dictionary for the database is upgraded.

There are different ways to upgrade to the latest release 19c of Oracle Database and Oracle provides multiple methods to upgrade on-premises and Oracle Cloud Infrastructure (OCI) environment.

We will use the OCI Console to upgrade Oracle Database Cloud Service database and database system (DB system).

Objectives

Prerequisites

Considerations

Upgrade using the OCI Console

  1. The OCI Console has been redesigned to use a single execution page for updates and upgrades. Go to the Bare Metal, VM, and Exadata service home page, navigate to DB Systems, DB System details and click View in the newly displayed version information section.

    image

    image

    On the update screen, you will find database and database system updates and upgrades.

    image

  2. So, let’s first upgrade the database and database system to 19c and Oracle Linux version 8 (OL8). Select Run precheck to ensure there are no common errors detected and then “APPLY” to upgrade the database and virtual machine database system to 19c and OL8.

    image

    Once “Run precheck” is completed successfully, we will go for an upgrade.

    image

  3. Keep a manual backup of this database and click Upgrade.

    image

    image

    image

  4. The database is upgraded from 12.1 to 19.21 successfully. Now, click View in the newly displayed version information section to upgrade a database system. We can see the database version details in general information in the version section.

    image

    We can see the upgrade availability for the database system showing “Oracle Linux Server release 8 (OL8)”.

    image

    image

  5. Click Run precheck to perform a precheck on the database system before the upgrade.

    image

    Here, we can see the precheck in progress for the OS component with version OL8.

    image

    The “precheck” has been completed successfully.

    image

  6. We need to have downtime for this database system while the OS is upgraded. Click Upgrade DB system to start the upgrade process. A Rollback option becomes available in the Update History if the upgrade is not successful.

    image

    Now, we can see the database system and database both have been upgraded.

    image

Acknowledgments

More Learning Resources

Explore other labs on docs.oracle.com/learn or access more free learning content on the Oracle Learning YouTube channel. Additionally, visit education.oracle.com/learning-explorer to become an Oracle Learning Explorer.

For product documentation, visit Oracle Help Center.