Beruflich Dokumente
Kultur Dokumente
References :
Oracle Support Document 2418045.1 (Oracle DB 18c - Complete Checklist for Manual Upgrades to Non-CDB
Oracle Database 18c) can be found at:
https://support.oracle.com/epmos/faces/DocumentDisplay?id=2418045.1
GDC1DLDCORA001:/u01/app/oracle/DB_SOFT/LINUX.X64_180000_db_home.zip
You must move this zip file to the new $ORACLE_HOME dir, and unzip it there directly
(it behaves differently than previous releases)
PRE-UPGRADE tasks
SYS@msafd> @/u01/app/oracle/product/18.0.0/dbhome_1/rdbms/admin/emremove
SYS@msafd> @/home/oracle/scripts/upgrade/preupgrade_fixups.sql
SYS@msafd> SELECT * FROM DBA_DEPENDENCIES WHERE referenced_name IN
('UTL_TCP','UTL_SMTP','UTL_MAIL','UTL_HTTP','UTL_INADDR','DBMS_LDAP') AND owner
NOT IN ('SYS','PUBLIC','ORDPLUGINS')
SYS@msafd> select current_scn from v$database; keep this SCN apart, so that you can use it in case of
restore
SYS@msafd> create restore point before_upgrade18c; can be used also in case of restore
UPGRADE tasks
SYS@msafd>shut immediate
[oracle@rdc1vldcora101:msafd]$ cd $ORACLE_HOME/bin
SYS@msafd>STARTUP
SYS@msafd>@?/rdbms/admin/utlu122s.sql
SYS@msafd>@?/rdbms/admin/catuppst.sql
POST-UPGRADE TASKS
SYS@msafd>@postupgrade_fixups.sql
If the Pre-Upgrade Information Tool instructed you to upgrade the time zone files after completing the
database upgrade: From 18.1 onwards, timezone upgrade scripts are included in the target ORACLE_HOME
under rdbms/admin directory. Customer can use those files to perform time zone upgrade instead of the
ones included in this document.
Please refer to Oracle Documentation on how to upgrade a time zone file manually:
Database Globalization Support Guide
Section 4.7.3 Steps to Upgrade Time Zone File and Timestamp with Time Zone Data
SQL>exec DBMS_DST.BEGIN_PREPARE(new_version)
SQL>exec DBMS_DST.FIND_AFFECTED_TABLES
SQL>select * from sys.dst$affected_tables;