Upgrade Oracle Database from 11 2 0 1 to 12 2 0 1

YouTube video


In this article, we will discuss the step-by-step process of upgrading an Oracle Database from version to We will cover the necessary preparations and outline the exact procedures to ensure a successful upgrade. Follow this guide carefully to avoid any potential issues during the upgrade process.

Preparing for the Upgrade

  1. Before starting the upgrade process, it is essential to check the compatibility between the two versions. Oracle provides a chart that lists supported upgrade paths. Refer to this chart to ensure a smooth transition from to

  2. It is recommended to take a backup of your database before proceeding with the upgrade. This step is crucial for data safety and recovery in case of any unforeseen issues during the upgrade.

  3. Make sure your database does not have any critical data or users. If necessary, create a user and insert some data into it for testing purposes.

Step 1: Upgrading to

  1. Start by upgrading your database from to This intermediate step is essential to ensure a smooth transition to the final version,

  2. Install the necessary binaries for version This installation process can be found in a separate video tutorial from the same channel (Infra Xpertzz).

  3. Once the installation is complete, log into the Oracle database and run a pre-check script to identify any invalid parameters or objects. Addressing these issues beforehand will help prevent any potential problems during the upgrade.

Step 2: Upgrading to

  1. After successfully upgrading to version, it is time to proceed with the final upgrade to

  2. Copy the necessary files from the new home to the current home directory.

  3. Set the Oracle home to the new version ( and restart the database to ensure the changes take effect.

  4. Use the catupgrd.sql script to perform the upgrade. This script ensures the database schema and objects are properly upgraded to the new version.

  5. During the upgrade process, pay close attention to any error messages or warnings that may arise. Address these issues as needed to ensure a successful upgrade.

  6. After the upgrade is complete, verify the updated version by checking the database status. Confirm that all objects and parameters are valid and functioning correctly.

  7. Finally, check if your user and data are still present in the upgraded database. Verify that all necessary tables and data have been successfully migrated to the new version.


By following the step-by-step process outlined in this article, you can successfully upgrade your Oracle Database from version to Remember to take necessary precautions before proceeding, such as backing up your database, checking compatibility, and verifying the presence and integrity of your data. Upgrading to the latest version of Oracle Database ensures improved performance, security, and new features. Stay updated and enjoy the benefits of the upgraded version.

Note: This article serves as a guide for educational purposes and should be implemented with caution. It is always recommended to consult official documentation and seek professional assistance for complex database upgrades.