Database Upgrade Process
Database Upgrade Process
Careful planning and use of Oracle Database 10g/11g tools can ease the process of
upgrading a database to the new Oracle Database 10g/11g release. Oracle
Database 10g/11g supports the following methods for upgrading a database:
• Copy data from a database into a new Oracle Database 10g/11g database
using the SQL*Plus COPY command or the AS clause of the CREATE TABLE
SQL statement.
Typically, the database administrator (DBA) is responsible for ensuring the success
of the upgrade process. The DBA is usually involved in each step of the process,
except for steps that involve testing applications on the upgraded database.
■ Meeting with everyone involved in the upgrade process and clearly defining
their roles
The application developer is responsible for ensuring that applications designed for
the current database work correctly with the upgraded Oracle Database. Application
developers often test applications against the upgraded Oracle Database and
decide which new features of Oracle Database 10g/11g/11g should be used.
Before upgrading the production database, the DBA or application developer should
install an Oracle Database test database. Then, the application developer can test
and modify the applications, if necessary, until they work with their original (or
enhanced Oracle Database) functionality.
Before you upgrade a database using any of these methods, you should understand
the major steps in the upgrade process. These steps are illustrated below :-
■ Become familiar with the features of the new Oracle Database 10g/11g
release.
■ Determine the upgrade path to the new Oracle Database 10g/11g release.
■ Choose an Oracle home directory for the new Oracle Database 10g/11g
release.
■ Perform a test upgrade using a test database. The test upgrade should be
conducted in an environment created for testing and should not interfere with
the actual production database.
■ Perform the tests you planned in Step 1 on the test database and on the
test database that was upgraded to the new Oracle Database 10g/11g
release.
■ Investigate ways to correct any anomalies you find and then implement the
corrections.
■ Repeat Step 1, Step 2, and the first parts of Step 3, as necessary, until the
test upgrade is completely successful and works with any required
applications.
■ Schedule the downtime required for backing up and upgrading the prod
■ After the upgrade, perform a full backup of the production database and
perform other post-upgrade tasks.
■ Tune the new Oracle Database production database. The new Oracle
Database production database should perform as good as, or better than, the
database prior to the upgrade. Chapter 4 describes these tuning adjustments.
■ Determine which features of the new Oracle Database 10g/11g release you
want to use and update your applications accordingly.
■ Do not upgrade production users to the new Oracle Database until all
applications have been tested and operate properly. Chapter 6 describes
considerations for updating applications.