0. Check Compatibility Before Upgrading Oracle Database
1. Environment
PRE-UPGRADE TASKS
2. Backup
3. Run preupgrade script
4. View Preupgrade log
5. Minimum tablespace sizes for upgrade
6. Update INITIALIZATION PARAMETERS
7. Gather DICTIONARY STATS
8. Purge Recyclebin
9. Refresh MVs
10. Run preupgrade_fixups.sql
11. Verify archive log dest size
12. Stop LISTENER
13. Create Flashback Guaranteed Restore Point
UPGRADE TASK
14. Shutdown Database
15. Copy init and password files from one version to new version
16. Startup DB in Upgrade mode
17. Run dbupgrade
18. Starup DB from New Oracle Home
POST-UPGRADE TASKS
19. Run catcon.pl to start utlrp.sql
20. Run postupgrade_fixups.sql
21. Upgrade Timezone
22. Run utlusts.sql
23. Run catuppst.sql
24. Re-Run postupgrade_fixups.sql
25. Reverify INVALID OBJECTS
26. Drop Restore point
27. Set COMPATIBALE parameter value
28. Verify DBA_REGISTRY
29. Add TNS Entries in 19c TNS home
30. Password File – orapwCID
31. Edit oratab
32. Back Up the Database
===================================================
/u01/app/oracle/product/12.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/preupgrade.jar TERMINAL TEXT
/u01/app/oracle/product/12.2.0/dbhome_1/jdk/bin/java -jar /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/preupgrade.jar FILE DIR /home/oracle/CID/preupgrade
/home/oracle/CID/preupgrade/preupgrade.log
/home/oracle/CID/preupgrade/preupgrade_fixups.sql
/home/oracle/CID/preupgrade/postupgrade_fixups.sql
@/home/oracle/CID/preupgrade/preupgrade_fixups.sql2) stop the listener and shutdown the database
3) Set environment variables to NEW ORACLE_HOME(19.3)
SQL> startup UPGRADE
4) Start the DB Upgrade process:
No comments:
Post a Comment