Beruflich Dokumente
Kultur Dokumente
I would like to share the downgrade process of Oracle Database 11gR2 to 10gR2.
Step: This is important, make sure you have set the compatible parameter to the version in which
you would like to downgrade to, in this example its 10.2.0.3.0
SYS@OTRANS 29-DEC-10> show parameter compatible
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
compatible string 10.2.0.3.0
BANNER
--------------------------------------------------------------------------------
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Step: Run catdwgrd.sql to downgrade --- this script is used from downgrading from the current
release you have installed to the release in which you have upgraded from.
$ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
$ /u01/app/oracle/product/10.2.0/db_1/bin/sqlplus /nolog
Step: Execute catrelod.sql to reload all of the database components with their current versions in
the downgraded database
SYS@OTRANS 29-DEC-10> SPOOL reload1023.log
SYS@OTRANS 29-DEC-10> @?/rdbms/admin/catrelod.sql
Step: You have to make sure to Shutdown and Startup database then recompile all objects of the
Database
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for Linux: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production