prefixups_hongkong.log

2021-03-09 02:51:56.325 INFO Starting log for hongkong - Utilities.createLogger 
2021-03-09 02:51:56.400 INFO Running fixup [PURGE_RECYCLEBIN][hongkong][PLSQL][PURGE DBA_RECYCLEBIN
/
] - FixUpTrigger.executeFixUp 
2021-03-09 02:51:56.400 INFO Begin [/home/oracle/u03/app/oracle/product/12.2.0/db_1/bin/sqlplus, -silent, /, as, sysdba] - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.401 INFO Begin Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.401 INFO [(SQLPATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_SID=hongkong), (ORACLE_UNQNAME=hongkong), (ORACLE_PATH=/home/oracle/u03/app/oracle/autoupgrade/hongkong/hongkong:/home/oracle/u03/app/oracle/autoupgrade/cfgtoollogs/upgrade/auto/sql), (ORACLE_BASE=/home/oracle/u03/app/oracle), (TWO_TASK=N/A), (ORACLE_HOME=/home/oracle/u03/app/oracle/product/12.2.0/db_1), (TNS_ADMIN=N/A), (LDAP_ADMIN=N/A), (PERL5LIB=N/A)] - ExecutionEnv.addEnvToProcess 
2021-03-09 02:51:56.401 INFO Starting - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:56.401 INFO Finished - ExecuteProcess.setLibsForSqlplus 
2021-03-09 02:51:56.401 INFO End Setting Oracle Environment - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.401 INFO Begin Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.401 INFO End Creating process - ExecuteProcess.startSqlPlusProcess 
2021-03-09 02:51:56.402 INFO Executing SQL [PURGE DBA_RECYCLEBIN
/
] in [hongkong, container:null] - ExecuteSql$SQLClient.run 
2021-03-09 02:51:56.475 INFO # PURGE_RECYCLEBIN - Check.runFix 
2021-03-09 02:51:56.476 INFO Finished fixup [PURGE_RECYCLEBIN][hongkong][SUCCESSFUL] - FixUpTrigger.executeFixUp 

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

upg_summary.log

Oracle Database Release 19 Post-Upgrade Status Tool 03-09-2021 03:31:3
Database Name: HONGKONG

Component                           Current        Full                    Elapsed Time
Name                                Status         Version                 HH:MM:SS

Oracle Server                       UPGRADED       19.3.0.0.0              00:19:26
JServer JAVA Virtual Machine        UPGRADED       19.3.0.0.0              00:01:46
Oracle XDK                          UPGRADED       19.3.0.0.0              00:00:48
Oracle Database Java Packages       UPGRADED       19.3.0.0.0              00:00:09
OLAP Analytic Workspace             UPGRADED       19.3.0.0.0              00:00:16
Oracle Label Security               UPGRADED       19.3.0.0.0              00:00:07
Oracle Database Vault               UPGRADED       19.3.0.0.0              00:00:22
Oracle Text                         UPGRADED       19.3.0.0.0              00:00:30
Oracle Workspace Manager            UPGRADED       19.3.0.0.0              00:00:29
Oracle Real Application Clusters    UPGRADED       19.3.0.0.0              00:00:00
Oracle XML Database                 UPGRADED       19.3.0.0.0              00:01:37
Oracle Multimedia                   UPGRADED       19.3.0.0.0              00:00:40
Spatial                             UPGRADED       19.3.0.0.0              00:05:50
Oracle OLAP API                     UPGRADED       19.3.0.0.0              00:00:10
Datapatch                                                                  00:03:41
Final Actions                                                              00:03:48
Post Upgrade                                                               00:00:19

Total Upgrade Time: 00:37:14

Database time zone version is 26. It is older than current release time
zone version 32. Time zone upgrade is needed using the DBMS_DST package.

Grand Total Upgrade Time: [0d:0h:46m:15s]

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

cat phase.log

 

Argument list for [/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catctl.pl]
For Oracle internal use only    A = 0
Run in                          c = 0
Do not run in                   C = 0
Input Directory                 d = /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin
Echo OFF                        e = 1
Simulate                        E = 0
Forced cleanup                  F = 0
Log Id                          i = 0
Child Process                   I = 0
Log Dir                         l = 0
Priority List Name              L = 0
Upgrade Mode active             M = 0
SQL Process Count               n = 0
SQL PDB Process Count           N = 0
Open Mode Normal                o = 0
Start Phase                     p = 0
End Phase                       P = 0
Reverse Order                   r = 0
AutoUpgrade Resume              R = 0
Script                          s = 0
Serial Run                      S = 0
RO User Tablespaces             T = 0
Display Phases                  y = 1
Debug catcon.pm                 z = 0
Debug catctl.pl                 Z = 0

catctl.pl VERSION: [19.0.0.0.0]
STATUS: [Production]
BUILD: [RDBMS_19.3.0.0.0DBRU_LINUX.X64_190417]


/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/orahome = [/u01/app/oracle/product/19.0.0/dbhome_1]
/u01/app/oracle/product/19.0.0/dbhome_1/bin/orabasehome = [/u01/app/oracle/product/19.0.0/dbhome_1]
catctlGetOraBaseLogDir = [/u01/app/oracle/product/19.0.0/dbhome_1]

Analyzing file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catupgrd.sql

Log file directory = [/tmp/cfgtoollogs/upgrade20210309025244]

27 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catalog.sql
37 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catalog.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catproc.sql
35 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catproc.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catptabs.sql
68 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catptabs.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpdbms.sql
241 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpdbms.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpdeps.sql
86 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpdeps.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpprvt.sql
305 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpprvt.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpexec.sql
32 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catpexec.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/cmpupgrd.sql
21 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/cmpupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbupgrd.sql
8 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbload.sql
90 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbload.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupgrd.sql
10 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/sdoupgrd.sql
5 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/sdoupgrd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmd.sql
8 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmd.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdloc.sql
13 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdloc.sql
Next path: /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdo.sql
13 scripts found in file /u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdo.sql

[phase 0] type is 1 with 1 Files

@catupstr.sql

[phase 1] type is 1 with 5 Files

@cdstrt.sql @cdfixed.sql @catcdbviews.sql @catblock.sql 
@cdcore.sql

[phase 2] type is 1 with 1 Files

ora_restart.sql

[phase 3] type is 2 with 19 Files

@cdplsql.sql @cdsqlddl.sql @cdmanage.sql @cdtxnspc.sql 
@cdenv.sql @cdrac.sql @cdsec.sql @cdobj.sql 
@cdjava.sql @cdpart.sql @cdrep.sql @cdaw.sql 
@cdsummgt.sql @cdtools.sql @cdexttab.sql @cddm.sql 
@cdclst.sql @cdhcs.sql @cdadr.sql

[phase 4] type is 1 with 1 Files

ora_restart.sql

[phase 5] type is 1 with 7 Files

@catptt.sql @catldr.sql @cdoptim.sql @catsum.sql 
@catexp.sql @cddst.sql @cdend.sql

[phase 6] type is 1 with 1 Files

@catpstrt.sql

[phase 7] type is 1 with 2 Files

@catptyps.sql @catpgrants.sql

[phase 8] type is 1 with 1 Files

ora_restart.sql

[phase 9] type is 2 with 67 Files

@catnodpobs.sql @catbac.sql @prvtrctv.plb @catactx.sql 
@prvtuttv.plb @catsvrmg.sql @prvtlsis.plb @prvtlsss.plb 
@cattrans.sql @catrule.sql @catpitr.sql @catdip.sql 
@catrls.sql @catar.sql @catfga.sql @catamgt.sql 
@catidxu.sql @cattsm.sql @catchnf.sql @catodm.sql 
@catkppls.sql @catsscr.sql @catqueue.sql @cathae.sql 
@catadvtb.sql @cataitb.sql @catsch.sql @catol.sql 
@catdpb.sql @catcrc.sql @dbmscr.sql @dbmsutil.sql 
@catdbfus.sql @catalrt.sql @catatsk.sql @catmntr.sql 
@catsqlt.sql @catumftv.sql @catsmbvw.sql @catwrrtb.sql 
@catsumat.sql @catlmnr.sql @catdef.sql @catadrvw.sql 
@catrepv.sql @catpexe.sql @cattlog.sql @catcapi.sql 
@catpspi.sql @catts.sql @catnacl.sql @catredact.sql 
@catproftab.sql @catpstdy.sql @catratmask.sql @catqitab.sql 
@catappcont.sql @catjsonv.sql @catrsa.sql @catappcontainer.sql 
@cathmgr.sql @catmvrs.sql @cataclsrv.sql @catdbl.sql 
@catgdtab.sql @catimfstab.sql @catimime.sql

[phase 10] type is 1 with 1 Files

ora_restart.sql

[phase 11] type is 1 with 1 Files

@catpspec.sql

[phase 12] type is 1 with 1 Files

ora_restart.sql

[phase 13] type is 2 with 94 Files

@utlinad.sql @utlsmtp.sql @utlurl.sql @utlenc.sql 
@utlgdk.sql @utlcstk.sql @utlcomp.sql @utli18n.sql 
@utllms.sql @dbmsplsw.sql @utlnla.sql @dbmspdb.sql 
@dbmsappcon.sql @dbmstrns.sql @dbmsrwid.sql @dbmspclx.sql 
@prvthpclxi.plb @dbmserlg.sql @dbmsspu.sql @dbmsapin.sql 
@dbmssyer.sql @dbmspipe.sql @dbmsalrt.sql @dbmsdesc.sql 
@prvthpexpi.plb @dbmspexp.sql @dbmsjob.sql @prvtstataggs.plb 
@prvtstatadv.plb @dbmsstts.sql @dbmsddl.sql @dbmsedu.sql 
@dbmspp.sql @prvthddl.plb @prvthsye.plb @prvtzhlp.plb 
@dbmsodbo.sql @dbmshier.sql @dbmsidxu.sql @prvthidx.plb 
@dbmspsp.sql @dbmstran.sql @dbmsxa.sql @dbmstxfm.sql 
@dbmsread.sql @prvtreut.plb @dbmspb.sql @dbmspbt.sql 
@dbmsplts.sql @dbmspitr.sql @utlrefld.sql @utlcoll.plb 
@dbmstrst.sql @dbmsrlsa.sql @dbmsrpr.sql @dbmsobtk.sql 
@dbmslm.sql @dbmslmd.sql @prvtlmes.plb @utlcxml.sql 
@dbmsfga.sql @dbmsamgt.sql @dbmstypu.sql @dbmsres.sql 
@dbmstxin.sql @dbmsdrs.sql @dbmsdg.sql @dbmssum.sql 
@dbmshord.sql @dbmsxfr.sql @dbmsmap.sql @dbmsfi.sql 
@dbmsdbv.sql @dbmstcv.sql @dbmscoll.sql @dbmspbp.sql 
@dbmshpro.sql @dbmscov.sql @dbmssrv.sql @dbmschnf.sql 
@dbmsxpln.sql @prvsxplni.plb @utlmatch.sql @dbmsdbvn.sql 
@dbmspool.sql @dbmsrcad.sql @prvthcrc.plb @prvtkpps.plb 
@dbmsaq.plb @dbmsaqad.sql @dbmsaq8x.plb @dbmsaqem.plb 
@prvtaqxi.plb @dbmsslrt.sql

[phase 14] type is 1 with 1 Files

ora_restart.sql

[phase 15] type is 2 with 120 Files

@dbmsmntr.sql @dbmshm.sql @catsqltk.sql @dbmsir.sql 
@prvtsss.plb @dbmsocm.sql @dbmslobu.sql @dbmsmp.sql 
@dbmsaddm.sql @prvttxfs.plb @dbmsrmin.plb @dbmsrmad.sql 
@dbmsrmpr.sql @dbmsrmpe.plb @dbmsrmge.plb @dbmsrmpa.plb 
@prvtrmie.plb @prvthjob.plb @prvtdputh.plb @dbmsmeta.sql 
@dbmsmetb.sql @dbmsmetd.sql @dbmsmet2.sql @dbmsdp.sql 
@dbmsdpmt.sql @prvthpd.plb @prvthpdi.plb @prvthpvi.plb 
@dbmsbsdesc.sql @prvtdtde.plb @prvtcia.plb @prvtsum.plb 
@prvtjdbs.plb @dbmsslxp.sql @prvssmgu.plb @dbmsmb.sql 
@dbmsawr.sql @dbmsumf.sql @prvsemxi.plb @prvsemx_admin.plb 
@prvsemx_dbhome.plb @prvsemx_memory.plb @prvsemx_perf.plb @prvsemx_cell.plb 
@dbmsperf.sql @prvsemx_rsrcmgr.plb @prvsemx_sql.plb @prvsrept.plb 
@prvsrepr.plb @prvshdm.plb @prvsrtaddm.plb @prvs_awr_data_cp.plb 
@prvscpaddm.plb @prvsadv.plb @prvsawr.plb @prvsawri.plb 
@prvsumfi.plb @prvsawrs.plb @prvsash.plb @prvsawrv.plb 
@prvssqlf.plb @dbmswrr.sql @dbmsfus.sql @prvsfus.plb 
@prvsfusc.plb @dbmsuadv.sql @dbmsspm.sql @prvsspmi.plb 
@prvssmb.plb @prvssmbi.plb @dbmsstr.sql @dbmssqls.sql 
@dbmsspa.sql @prvsautorepi.plb @dbmsautorep.sql @dbmsratmask.sql 
@dbmsdiag.sql @dbmsrepl.sql @dbmskzxp.sql @dbmscu.sql 
@dbmsdst.sql @dbmscomp.sql @dbmsilm.sql @dbmspexe.sql 
@prvthpexei.plb @dbmscapi.sql @dbmsfuse.sql @dbmsfspi.sql 
@dbmspspi.sql @dbmsdnfs.sql @dbmsadr.sql @dbmsadra.sql 
@prvsadri.plb @xsrs.sql @xssc.sql @xsacl.sql 
@xsds.sql @xsns.sql @xsdiag.sql @xssess.sql 
@dbmsredacta.sql @dbmssqll.sql @dbmsgwm.sql @dbmsappcont.sql 
@dbmsscnc.sql @dbmsspd.sql @prvsspdi.plb @dbmsfs.sql 
@dbmssqlm.sql @catprofp.sql @prvtsys.plb @dbmspart.sql 
@dbmsrupg.sql @dbmstsdp.sql @dbmsinmem.sql @dbmsdbcomp.sql 
@dbmsapre.sql @dbmsinmemadmin.sql @dbmshadp.sql @dbmsbdcluacc.sql


[phase 16] type is 1 with 1 Files

ora_restart.sql

[phase 17] type is 1 with 22 Files

@dbmsmeti.sql @dbmsmetu.sql @dbmsqopi.sql @dbmstf.sql 
@dbmshmgr.sql @dbmsaclsrv.sql @dbmstns.sql @catappcdbviews.sql 
@prvthesh.plb @dbmsrsa.plb @prvthisagt.plb @prvthisutl.plb 
@dbmsol.sql @prvtols.plb @prvthpp.plb @setpdb.sql 
@dbmsmemoptimize.sql @dbmsmemoptimizeadmin.sql @dbmsai.sql @prvsaii.plb 
@prvssqlci.plb @prvssqlqi.plb

[phase 18] type is 1 with 1 Files

ora_restart.sql

[phase 19] type is 2 with 32 Files

@prvthdbu.plb @catost.sql @dbmshae.sql @catxpend.sql 
@prvtotpt.plb @prvthlut.plb @prvthlin.plb @prvthsdp.plb 
@dbmsrman.sql @dbmsbkrs.sql @dbmspplb.sql @dbmstrig.sql 
@dbmsrand.sql @dbmsjdwp.sql @catxs.sql @dbmssnap.sql 
@prvtxrmv.plb @depsaq.sql @prvthlrt.plb @catadv.sql 
@dbmscred.sql @catcredv.sql @cataqsch.sql @catrssch.sql 
@catplug.sql @prvtsql.plb @prvtssql.plb @prvtlmd.plb 
@prvtlmcs.plb @prvtlmrs.plb @prvtlmss.plb @prvthpv.plb


[phase 20] type is 1 with 1 Files

ora_restart.sql

[phase 21] type is 1 with 3 Files

@prvtkupc.plb @prvtaqiu.plb @catlsby.sql

[phase 22] type is 1 with 1 Files

ora_restart.sql

[phase 23] type is 2 with 25 Files

@cataivw.sql @catmetviews.sql @prvthpw.plb @prvthpm.plb 
@prvthpfi.plb @prvthpf.plb @prvthdpi.plb @dbmsodm.sql 
@prvtitrg.plb @prvtsms.plb @depssvrm.sql @deptxn.sql 
@catstr.sql @prvthsts.plb @prvthfgr.plb @prvthfie.plb 
@prvthcmp.plb @catpexev.sql @depscapi.sql @depspspi.sql 
@catwrrvw.sql @dbmsjdcu.sql @dbmsjdmp.sql @prvthpc.plb 
@prvt_awr_data.plb

[phase 24] type is 1 with 1 Files

ora_restart.sql

[phase 25] type is 2 with 12 Files

@catmetgrant1.sql @catldap.sql @prvtocm.sql @prvthpci.plb 
@catilm.sql @catemxv.sql @catnaclv.sql @dbmsnacl.sql 
@catpvf.sql @dbmswlm.sql @cathive.sql @catuat.sql


[phase 26] type is 1 with 1 Files

ora_restart.sql

[phase 27] type is 1 with 1 Files

ora_load_without_comp.sql

[phase 28] type is 1 with 3 Files

@prvtrepl.sql @catpstr.sql @catumfusr.sql

[phase 29] type is 1 with 1 Files

ora_load_with_comp.sql

[phase 30] type is 1 with 1 Files

ora_restart.sql

[phase 31] type is 1 with 1 Files

@catcdbviews.sql

[phase 32] type is 1 with 1 Files

ora_restart.sql

[phase 33] type is 2 with 0 Files


[phase 34] type is 1 with 1 Files

ora_load_without_comp.sql

[phase 35] type is 1 with 293 Files

@prvthpu.plb @prvthpui.plb @prvtbpui.plb @prvtidxu.plb 
@prvtadmi.plb @prvtbpu.plb @prvtutils.plb @prvtrlsa.plb 
@prvti18n.plb @prvtcred.plb @prvtfile.plb @prvtrawb.plb 
@prvttcp.plb @prvtinad.plb @prvtsmtp.plb @prvthttp.plb 
@prvturl.plb @prvtenc.plb @prvtgdk.plb @prvtlob.plb 
@prvtlobu.plb @prvtcstk.plb @prvtcomp.plb @prvtlms2.plb 
@prvtnla.plb @prvttrns.plb @prvtsess.plb @prvtrwid.plb 
@prvtpclxi.plb @prvtpclx.plb @prvterlg.plb @prvtapin.plb 
@prvtsyer.plb @prvtlock.plb @prvtpipe.plb @prvtalrt.plb 
@prvtdesc.plb @prvtbpexpi.plb @prvtpexp.plb @prvtzexp.plb 
@prvtstts.plb @prvtddl.plb @prvtpp.plb @prvtkppb.plb 
@prvtodbo.plb @prvthier.plb @prvtutil.plb @prvtpsp.plb 
@prvttran.plb @prvtxa.plb @prvtany.plb @prvtread.plb 
@prvtpb.plb @prvtpbt.plb @prvtxpsw.plb @prvtcoll.plb 
@prvttrst.plb @prvtodci.plb @prvtrpr.plb @prvtobtk.plb 
@prvtxmlt.plb @prvturi.plb @prvtxml.plb @prvtcxml.plb 
@prvtemxi.plb @prvtemx_admin.plb @prvtemx_dbhome.plb @prvtemx_memory.plb 
@prvtemx_perf.plb @prvtemx_cell.plb @prvtperf.plb @prvtemx_rsrcmgr.plb 
@prvtemx_sql.plb @prvtrep.plb @prvtrept.plb @prvtrepr.plb 
@prvtfga.plb @prvtamgt.plb @prvttypu.plb @prvtjdwp.plb 
@prvtjdmp.plb @prvtres.plb @prvtcr.plb @prvttxin.plb 
@prvtdrs.plb @prvtdg.plb @prvtfi.plb @prvtmap.plb 
@prvtdbv.plb @prvttcv.plb @prvtpbp.plb @prvthpro.plb 
@prvtcov.plb @prvtbdbu.plb @prvtsrv.plb @prvtpool.plb 
@prvtkzxs.plb @prvtkzxp.plb @prvtcrc.plb @prvtrc.plb 
@prvtaq.plb @prvtaqdi.plb @prvtaqxe.plb @prvtaqis.plb 
@prvtaqim.plb @prvtaqad.plb @prvtaq8x.plb @prvtaqin.plb 
@prvtaqal.plb @prvtaqjm.plb @prvtaqmi.plb @prvtaqme.plb 
@prvtaqem.plb @prvtaqip.plb @prvtaqds.plb @prvtsqdi.plb 
@prvtsqds.plb @prvtsqis.plb @prvthm.plb @prvtwlm.plb 
@prvtsqtk.plb @prvtkjhn.plb @prvtir.plb @prvtssb.plb 
@prvttxfm.plb @prvtrmin.plb @prvtrmad.plb @prvtrmpr.plb 
@prvtrmpe.plb @prvtrmge.plb @prvtrmpa.plb @prvtjob.plb 
@prvtbsch.plb @prvtesch.plb @prvtol.plb @prvtoli.plb 
@prvtlm.plb @prvtlmcb.plb @prvtlmrb.plb @prvtlmsb.plb 
@prvtlmeb.plb @prvtwrr_report.plb @prvtwrr.plb @prvtrupg.plb 
@prvtrupgis.plb @prvtlog.plb @prvtcapi.plb @prvtawrv.plb 
@prvtdput.plb @prvtmeta.plb @prvtmeti.plb @prvtmetu.plb 
@prvtmetb.plb @prvtmetd.plb @prvtmet2.plb @prvtbdpi.plb 
@prvtdp.plb @prvtdpmt.plb @prvtbpc.plb @prvtbpci.plb 
@prvtbpw.plb @prvtbpm.plb @prvtbpfi.plb @prvtbpf.plb 
@prvtbpp.plb @prvtbpd.plb @prvtbpdi.plb @prvtbpv.plb 
@prvtbpvi.plb @prvtbsdesc.plb @prvtdpcr.plb @prvtciai.plb 
@prvtplts.plb @prvtpitr.plb @prvtreie.plb @prvtrwee.plb 
@prvtrcmp.plb @prvtchnf.plb @prvtedu.plb @prvtlsby.plb 
@prvtlsib.plb @prvtlssb.plb @prvtsmv.plb @prvtsma.plb 
@prvtbxfr.plb @prvtbord.plb @prvtjdbb.plb @prvtslrt.plb 
@prvtslxp.plb @prvtatsk.plb @prvtmntr.plb @prvtsmgu.plb 
@prvtdadv.plb @prvtadv.plb @prvtmb.plb @prvtawr.plb 
@prvtawrs.plb @prvtawri.plb @prvtumf.plb @prvtumfi.plb 
@prvtash.plb @prvtsqlf.plb @prvtsqls.plb @prvtxplni.plb 
@prvtxpln.plb @prvtsqli.plb @prvtsqlt.plb @prvtai.plb 
@prvtaii.plb @prvtautorepi.plb @prvtautorep.plb @prvtfus.plb 
@prvtfusc.plb @prvtmp.plb @prvthdm.plb @prvtaddm.plb 
@prvtrtaddm.plb @prvt_awr_data_cp.plb @prvtcpaddm.plb @prvtuadv.plb 
@prvtsqlu.plb @prvtspai.plb @prvtspa.plb @prvtratmask.plb 
@prvtspmi.plb @prvtspm.plb @prvtsmbi.plb @prvtsmb.plb 
@prvtwrk.plb @prvtsmaa.plb @prvtstatadvi.plb @prvtstat.plb 
@prvtstai.plb @prvtstatagg.plb @prvtsqld.plb @prvtspcu.plb 
@prvtodm.plb @prvtkcl.plb @prvtdst.plb @prvtcmpr.plb 
@prvtilm.plb @prvtpexei.plb @prvtpexe.plb @prvtfuse.plb 
@prvtfspi.plb @prvtpspi.plb @prvtdnfs.plb @prvtfs.plb 
@prvtadri.plb @prvtadr.plb @prvtadra.plb @prvtds.plb 
@prvtxsrs.plb @prvtsc.plb @prvtacl.plb @prvtns.plb 
@prvtdiag.plb @prvtkzrxu.plb @prvtnacl.plb @prvtredacta.plb 
@prvtappcon.plb @prvtpdb.plb @prvttlog.plb @prvtsqll.plb 
@prvtappcont.plb @prvtspd.plb @prvtspdi.plb @prvtpprof.plb 
@prvtsqlm.plb @prvtpart.plb @prvtrupgib.plb @prvtpstdy.plb 
@prvttsdp.plb @prvtscnc.plb @prvtinmem.plb @prvtdbcomp.plb 
@prvtapre.plb @prvtinmemadmin.plb @prvttf.plb @prvtkubsagt.plb 
@prvthadoop.plb @prvtbdcluacc.plb @prvthmgr.plb @prvtaudutl.plb 
@prvtrsa.plb @prvtbisagt.plb @prvtbisutl.plb @prvtprocess.plb 
@prvtpq.plb @prvtaclsrv.plb @prvtbgg.plb @prvttns.plb 
@prvtbggei.plb

[phase 36] type is 1 with 1 Files

ora_load_with_comp.sql

[phase 37] type is 1 with 1 Files

ora_restart.sql

[phase 38] type is 1 with 6 Files

@catfusrg.sql @prvtmemoptimize.plb @prvtmemoptimizeadmin.plb @prvtsqlci.plb 
@prvtsqlqi.plb @prvtsqlq.plb

[phase 39] type is 1 with 1 Files

ora_restart.sql

[phase 40] type is 1 with 3 Files

@catmetinsert.sql @catpcnfg.sql @catdph.sql

[phase 41] type is 1 with 1 Files

ora_restart.sql

[phase 42] type is 2 with 13 Files

@catmetgrant2.sql @execemx.sql @execcr.sql @caths.sql 
@catemini.sql @execaq.sql @execsvrm.sql @exechae.sql 
@execsec.sql @execbsln.sql @dbmspump.sql @olappl.sql 
@execrep.sql

[phase 43] type is 1 with 1 Files

ora_restart.sql

[phase 44] type is 2 with 11 Files

@execstr.sql @execsvr.sql @execstat.sql @execsmb.sql 
@catsnmp.sql @wpiutil.sql @owainst.sql @catilmini.sql 
@execocm.sql @exectsdp.sql @execqopi.sql

[phase 45] type is 1 with 1 Files

ora_restart.sql

[phase 46] type is 2 with 3 Files

@execrsa.plb @execschlb.plb @execpdb.sql

[phase 47] type is 1 with 1 Files

ora_restart.sql

[phase 48] type is 1 with 1 Files

@catpend.sql

[phase 49] type is 1 with 1 Files

ora_restart.sql

[phase 50] type is 1 with 1 Files

@catupprc.sql

[phase 51] type is 1 with 1 Files

@cmpupstr.sql

[phase 52] type is 1 with 1 Files

ora_restart.sql

[phase 53] type is 1 with 2 Files

@cmpupjav.sql @cmpupnjv.sql

[phase 54] type is 1 with 1 Files

ora_restart.sql

[phase 55] type is 1 with 0 Files


[phase 56] type is 1 with 3 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbustr.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbuo.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbus.sql

[phase 57] type is 1 with 3 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmlt.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmlu.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmld.sql

[phase 58] type is 2 with 10 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmlp.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxtbix.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxidx.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catsodaview.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbpi.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxsch.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxres.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbz.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbutil.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdb0.plb

[phase 59] type is 2 with 25 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdb.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxutil.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxrc.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbc.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdba.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxreg.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxschlsb.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxlsb.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbrepos.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxtr.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxidx.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxvr.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxmls.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbh.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbdt.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxslp.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdr0.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxev.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdz0.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxsch0.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsjson.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmssodacoll.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmssodadom.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmssodautil.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmssodapls.sql

[phase 60] type is 1 with 4 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/dbmsxdbr.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbr.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbv.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catvxutil.sql


[phase 61] type is 1 with 1 Files

ora_load_without_comp.sql

[phase 62] type is 1 with 32 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxsch.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbr.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxslp.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbz.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxmlt.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxutil.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxrc.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxres.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbdl.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtcsx.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdb.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdba.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxreg.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbp.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxschlsb.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxlsb.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxdbrepos.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxev.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxtr.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxidx.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxmlstreams.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxmld.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxmlp.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxsch.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxsfsclient.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtxschnpb.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtjson.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodautil.plb 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodadml.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodacoll.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodadom.plb -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/prvtsodapls.plb


[phase 63] type is 1 with 1 Files

ora_load_with_comp.sql

[phase 64] type is 2 with 6 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbpv.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbeo.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbinstd.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbapp.sql 
-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbdl.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catxdbz1.sql

[phase 65] type is 1 with 2 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/catmetx.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbloadend.sql

[phase 66] type is 1 with 3 Files

-CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbud.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xrdupgrd.sql -CPXDB@/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/xdbuend.sql

[phase 67] type is 1 with 1 Files

ora_restart.sql

[phase 68] type is 1 with 0 Files


[phase 69] type is 1 with 1 Files

-CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupstrt.sql

[phase 70] type is 2 with 2 Files

-CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imclnjav.sql -CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupmain.sql

[phase 71] type is 1 with 1 Files

ora_restart.sql

[phase 72] type is 2 with 2 Files

-CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imuprun.sql -CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imuploc.sql

[phase 73] type is 1 with 2 Files

-CPORDIM@/u01/app/oracle/product/19.0.0/dbhome_1/ord/im/admin/imupend.sql @cmpupord.sql

[phase 74] type is 1 with 1 Files

ora_restart.sql

[phase 75] type is 1 with 0 Files


[phase 76] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/sdoupgrdh.sql

[phase 77] type is 1 with 2 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdh.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/mdprivs.sql

[phase 78] type is 1 with 1 Files

ora_restart.sql

[phase 79] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdloch.sql

[phase 80] type is 1 with 1 Files

ora_restart.sql

[phase 81] type is 2 with 3 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdlocp1.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdlocp2.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdlocj.sql

[phase 82] type is 1 with 1 Files

ora_restart.sql

[phase 83] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdloct.sql

[phase 84] type is 1 with 1 Files

ora_restart.sql

[phase 85] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdoh.sql

[phase 86] type is 1 with 1 Files

ora_restart.sql

[phase 87] type is 2 with 4 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdop1.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdop2.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdop3.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdop4.sql


[phase 88] type is 1 with 1 Files

ora_restart.sql

[phase 89] type is 1 with 1 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdsdot.sql

[phase 90] type is 1 with 1 Files

ora_restart.sql

[phase 91] type is 1 with 2 Files

-CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/catmdt.sql -CPSDO@/u01/app/oracle/product/19.0.0/dbhome_1/md/admin/sdoupgrdt.sql

[phase 92] type is 1 with 1 Files

ora_restart.sql

[phase 93] type is 1 with 1 Files

@cmpupsdo.sql

[phase 94] type is 1 with 1 Files

ora_restart.sql

[phase 95] type is 1 with 1 Files

@cmpupmsc.sql

[phase 96] type is 1 with 1 Files

ora_restart.sql

[phase 97] type is 1 with 1 Files

@cmpupend.sql

[phase 98] type is 1 with 1 Files

@catupend.sql

[phase 99] type is 1 with 1 Files

@catmmig.sql

[phase 100] type is 1 with 1 Files

@catappupgend.sql

[phase 101] type is 1 with 1 Files

@catshutdownpdb.sql

[phase 102] type is 1 with 1 Files

@catshutdown.sql

[phase 103] type is 1 with 1 Files

@catuppst.sql

[phase 104] type is 1 with 1 Files

@catresults.sql

[phase 105] type is 1 with 1 Files

@catappupgend.sql

[phase 106] type is 1 with 1 Files

@catshutdownpdb.sql

[phase 107] type is 1 with 1 Files

@catshutdown.sql

Total Number of Phases: 108

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

AutoUpgrade with Source and Target Database Homes on Same Server – 19c New Feature

DB Upgrade using AutoUpgrade tool:

It is a feature that is enhanced in oracle 19c and it is mainly used to automate the upgrade process.it not only automates the database upgrade but also performs the pre-upgrade steps and the post upgrade steps automatically.it just simplifies the upgrade activity, previously we have to use dbua/manual method/datapump methods to upgrade the database now we can upgrade the number of databases using AutoUpgrade utility within the short span of time.

Note :   If you are doing AutoUpgrade on same server it is not necessary to run the upgrade mode you can stop with the deploy mode, our database will be upgraded.

On the other hand if you are performing AutoUpgrade on different servers it is necessary to run all the mode till upgrade mode.(i.e. analyze, fixups, deploy, upgrade)

AutoUpgrade is available for Oracle Database Enterprise Edition, and Oracle Database Standard Edition. It is not available for Oracle Database Express Edition.

AutoUpgrade Support is available for Oracle Database 12c Release 2 (12.2) and Oracle Database 18c (18.5) target homes. For both Oracle Database 12c Release 2 (12.2) and Oracle Database 18c (18.5) target homes.

Advantages of AutoUpgrade Utility:

  • Time saving method (completes the upgrade in a short time)
  • can upgrade multiple Oracle Database deployments at the same time, using a single configuration file, customized as needed for each database deployment.
  • preventing the issues before upgrade.
  • It automatically performs the preupgrade and post upgrade steps/checks.

AUTOUPGRADE PROCESSING MODES:

Generally AutoUpgrade processes in four modes, they are ,

  • Analyze

It performs a read only pre-upgrade analysis of databases before upgrade and detects any issues which may prevent the successful completion of upgradation.it should be run in the source database like normal operations.

  • Fixups

In Fixups mode it checks the same as it have done in the analyze mode, so that it can identify issues that require fixing. In Fixup Mode, the AutoUpgrade utility detects and identifies both fixes that require manual intervention and AutoUpgrade utility can clear the fix during upgrade.

  • Deploy

In deploy mode it confirms that our database has been successfully upgraded and it copies the sqlnet.ora, listener.ora, tnsnames.ora from source to target home.

  • Upgrade

An upgrade completes with either deploy or upgrade, after this we can run our post upgrade checks.in this we can run our custom scripts on the upgraded databases in accordance with the configuration file that we have created. After this the upgraded oracle database starts with a new oracle home.

AutoUpgrade utility jobs pass through a series of phases, called stages, during which specific actions are performed.

AutoUpgrade has the following stages,

SETUP
PREUPGRADE
PRECHECKS
GRP
PREFIXUPS
DRAIN
DBUPGRADE
POSTCHECKS
POSTFIXUPS
POSTUPGRADE

Overview steps:

Step:1 Check for the autoupgrade.jar file version which is already present in the database.($ORACLE_HOME/rdbms/admin/preupgrade.jar)

Step:2 Then we have to download the latest autoupgrade.jar version and then we have to share the file in /home/oracle location and check the version of the file.

Step:3 Our database which we are going to upgrade must be in archivelog mode and flashback should be enabled.

Step:4 Create a configuration file which consists of source Sid, log directory, start time of the upgrade, target home, source db version.

Step:5 Once we run the analyze mode it checks for any issues and also it analyses the source database, it will estimate the time when the upgrade will get completed, jobs that are running, status of the jobs ,once it is completed without any error we can run the fixups mode here also the same it detects and fixes the bugs that is either by manual or bugs that is fixed automatically during upgrade.

Step:6 After this the next stage is deploy and upgrade both are same which upgrades our database, it confirms that our database is upgraded successfully. here it transfers the listener.ora, tnsnames.ora files from source home to target’s home. Then we can start our upgraded database in the new oracle home.

Step:7 Then check time zone version of upgraded database.

Step:1 Check for the autoupgrade.jar version which is already present. The autoupgrade.jar file is available in the Oracle 19c database software in the $ORACLE_HOME/rdbms/admin directory.

Step:2 Then download the latest version of autoupgrade.jar from the MOS note 2485457.1

Step:3 Create the configuration files containing the parameters where the logs should be stored, dbid, database name to be upgraded, source and target version home.

Step:4 Enable the archive log mode in the database which is to be upgraded.

Step:5 Analyze the database to be upgraded using the analyze mode and fixups the issues by running fixups mode.

There are three main commands in this upgrade to check the status of the upgrade.

lsj       –   list the jobs which are running.

tasks  –  to see the tasks of the jobs and their status.

status – it gives an overall summary of the upgrade, here we can see the no of container and non-container databases, job finished successfully, job aborted and jobs which are in progress state.

Other than these there are some commands which helps you to perform the AutoUpgrade in a better way.

Running  Analyze mode:

Please find the detailed logfiles mentioned below.

prechecks_hongkong.log

hongkong_checklist.log

Running fixups mode:

Please find the detailed logfiles mentioned below.

prefixups_hongkong.log

hongkong_preupgrade.log

Step:6 After these above steps are completed successfully we can proceed the upgrade process using deploy and upgrade modes.

Running deploy mode:

Our database is upgraded successfully from 12c to 19c using AutoUpgrade tool.

Please find the detailed logfiles mentioned below.

drain_hongkong.log

autoupgrade_20210309.log

autoupgrade_20210309_user.log

Here I am checking whether database is upgraded or not by running the 19c environment file and logging in to the database and also verify the name, open mode and timezone version.


Please find the detailed logfiles mentioned below.

postchecks_hongkong.log

postfixups_hongkong.log

postupgrade.log

The below mentioned logfiles contains the overall summary for AutoUpgrade.

upg_summary.log

cat phase.log

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

Upgrade Oracle Database Manually from 12.2 to 19c

An another way to upgrade a database from lower version to higher version is we have to manually upgrade a database (ie) we have to verify whether it meets  all the pre-requests manually instead of using dbua (GUI) / datapump.

Step: 1 Create directory backup, upgrade for taking backup of listener.ora , tnsnames.ora and running the preupgrade.jar files respectively.

Backup TNS Files listener spfile and passwordfile .

[oracle@orcldbs ~]$ mkdir -p /u01/backup 
[oracle@orcldbs u01]$ cd backup/
[oracle@orcldbs backup]$ ll
total 20
-rwxr-xr-x. 1 oracle oinstall 343 Jan 30 23:32 listener21013011PM3657.bak
-rwxr-xr-x. 1 oracle oinstall 555 Jan 30 23:32 listener.ora
-rwxr-xr-x. 1 oracle oinstall 191 Jan 30 23:32 sqlnet21013011PM3657.bak
-rwxr-xr-x. 1 oracle oinstall 191 Jan 30 23:32 sqlnet.ora
-rwxr-xr-x. 1 oracle oinstall 614 Jan 30 23:32 tnsnames.ora
[oracle@orcldbs backup]$
[oracle@orcldbs ~]$ /u01/app/oracle/product/12.2.0/db_1/jdk/bin/java -jar 
/u01/app/oracle/product/19.0.0/dbhome_1/rdbms/admin/preupgrade.jar
FILE DIR /u01/upgrade


==================
PREUPGRADE SUMMARY
==================

/u01/upgrade/preupgrade.log
/u01/upgrade/preupgrade_fixups.sql
  /u01/upgrade/postupgrade_fixups.sql

Execute fixup scripts as indicated below:

Before upgrade:
Log into the database and execute the preupgrade fixups
@/u01/upgrade/preupgrade_fixups.sql

After the upgrade:
Log into the database and execute the postupgrade fixups
@/u01/upgrade/postupgrade_fixups.sql

Step:2 Login to the database &  Run the preupgrade_fixups.sql

Step:3 Gather the dictionary statistics it should be gathered before and after performing the upgrade.

SET ECHO ON; 
SET SERVEROUTPUT ON;
EXECUTE DBMS_STATS.GATHER_DICTIONARY_STATS; 

 PL/SQL procedure successfully completed. 

Step:4 Purge the  Recyclebin,it gains some storage space and on other hand we have choosen the recovery options.

SQL>  PURGE DBA_RECYCLEBIN; 

DBA Recyclebin purged

Step:5 Before upgrading Oracle Database, you must wait until all materialized views have completed refreshing. 

SQL>  declare 
list_failures integer(3) :=0; 
begin
DBMS_MVIEW.REFRESH_ALL_MVIEWS(list_failures,'C','', TRUE, FALSE);
end;


PL/SQL procedure successfully completed. 

Step:6 Verify archive log mode and enable it ,if not

SQL> archive log list
Database log mode                No Archive Mode
Automatic archival                  Disabled
Archive destination                /u01/app/oracle/product/12.2.0/db_1/dbs/arch
Oldest online log sequence     1
Current log sequence           1

SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.

SQL> startup mount
ORACLE instance started.
Total System Global Area 2432696320 bytes
Fixed Size                                8623592 bytes
Variable Size                        654314008 bytes
Database Buffers             1761607680 bytes
Redo Buffers                         8151040 bytes
Database mounted.

SQL> alter database archivelog;
Database altered.

SQL> archive log list
Database log mode                Archive Mode
Automatic archival                  Enabled
Archive destination                /u01/app/oracle/product/12.2.0/db_1/dbs/arch
Oldest online log sequence     1
Next log sequence to archive   1
Current log sequence           1
SQL> show parameter rec

NAME                                                 TYPE VALUE
------------------------------------ ----------- ------------------------------

buffer_pool_recycle                           string
control_file_record_keep_time                     integer            7
db_recovery_file_dest                      string
db_recovery_file_dest_size            big integer 0
db_recycle_cache_size                      big integer 0
db_unrecoverable_scn_tracking                   boolean          TRUE
ldap_directory_access                        string           NONE
ldap_directory_sysauth                              string            no
recovery_parallelism                           integer            0
recyclebin                                          string            on
remote_recovery_file_dest            string

In the Above snippet db_recovery_file_dest,db_recovery_file_dest_size is not set, here I am setting the db_recovery_file_dest_size to 10g and db_recovery_file_dest=’/u01/app/oracle/fra’

SQL> alter system set db_recovery_file_dest='/u01/app/oracle/fra' scope=both;

System altered.
SQL> show parameter rec

NAME                                                 TYPE VALUE
------------------------------------ ----------- ------------------------------

buffer_pool_recycle                           string
control_file_record_keep_time                     integer            7
db_recovery_file_dest                      string
db_recovery_file_dest_size            big integer 10
db_recycle_cache_size                      big integer 0
db_unrecoverable_scn_tracking                   boolean          TRUE
ldap_directory_access                        string           NONE
ldap_directory_sysauth                              string            no
recovery_parallelism                           integer            0
recyclebin                                          string            on
remote_recovery_file_dest            string

Step:7 Create Flashback Guaranteed Restore Point in the name pre_upgrade.

SQL> select flashback_on from v$database;

FLASHBACK_ON
------------------
NO
SQL>  select name,open_mode,log_mode from v$database;

NAME     OPEN_MODE          LOG_MODE
--------- -------------------- ------------
AUSTRALIA READ WRITE           ARCHIVELOG
SQL> show parameter db_recovery_file_dest_size

NAME                                     TYPE VALUE
------------------------------------ ----------- ------------------------------
db_recovery_file_dest_size            big integer 10G
SQL> create restore point pre_upgrade guarantee flashback database;

Restore point created.

Step:8 Copy init and password files from 12c home  to 19c  home

[oracle@orcldbs ~]$ cd $ORACLE_HOME/dbs
[oracle@orcldbs dbs]$ cp spfileaustralia.ora orapwaustralia
/u01/app/oracle/product/19.0.0/dbhome_1/dbs
oracle@orcldbs dbs]$ cd /u01/app/oracle/product/19.0.0/dbhome_1/dbs
[oracle@orcldbs dbs]$ ls
hc_oraprod.dat  lkORAPROD        orapworaprod      spfileaustralia.ora
init.ora        orapwaustralia  snapcf_oraprod.f  spfileoraprod.ora

Step:9 Startup DB in Upgrade mode from 19c home 

[oracle@orcldbs ~]$ !sq
sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 31 01:24:40 2021
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup upgrade
ORACLE instance started.
Total System Global Area 2432695144 bytes
Fixed Size                                8899432 bytes
Variable Size                        536870912 bytes
Database Buffers             1879048192 bytes
Redo Buffers                         7876608 bytes
Database mounted.
Database opened.


SQL> select name,open_mode,cdb,version,status from v$database,v$instance;

NAME     OPEN_MODE    CDB VERSION         STATUS
--------- -------------------- --- ----------------- ------------
AUSTRALIA READ WRITE   NO  19.0.0.0.0       OPEN MIGRATE

Step:10 Run dbupgrade, using $ORACLE_HOME/bin/dbupgrade file (or) by catupgrade(catupgrd.sql). Here starts the manual upgrade process. 

Database upgrade completed. 

Step:11 Startup DB from 19c home 

[oracle@orcldbs whileupgrade]$ sqlplus / as sysdba
SQL*Plus: Release 19.0.0.0.0 - Production on Sun Jan 31 02:26:12 2021
Version 19.3.0.0.0
Copyright (c) 1982, 2019, Oracle.  All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 2432695144 bytes
Fixed Size                                8899432 bytes
Variable Size                        637534208 bytes
Database Buffers             1778384896 bytes
Redo Buffers                         7876608 bytes
Database mounted
Database opened
SQL> select name,open_mode,cdb,version,status from v$database,v$instance;

NAME     OPEN_MODE       CDB VERSION           STATUS
--------- -------------------- --- ----------------- ------------
AUSTRALIA READ WRITE        NO  19.0.0.0.0           OPEN

Step:-12. Run catcon.pl(it is used used to execute the command in all PDBs and CDB database)  to start utlrp.sql to recompile invalid objects.

SQL> select count(*) from dba_objects where status='INVALID';

COUNT(*)
----------
2552
SQL>  @?/rdbms/admin/utlrp.sql

Session altered.

TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_BGN                   2021-01-31 02:30:35

DOC>   The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC>   objects in the database. Recompilation time is proportional to the
DOC>   number of invalid objects in the database, so this command may take
DOC>   a long time to execute on a database with a large number of invalid
DOC>   objects.
DOC>
DOC>   Use the following queries to track recompilation progress:
DOC>
DOC>   1. Query returning the number of invalid objects remaining. This
DOC>      number should decrease with time.
DOC>         SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC>   2. Query returning the number of objects compiled so far. This number
DOC>      should increase with time.
DOC>         SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC>   This script automatically chooses serial or parallel recompilation
DOC>   based on the number of CPUs available (parameter cpu_count) multiplied
DOC>   by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC>   On RAC, this number is added across all RAC nodes.
DOC>
DOC>   UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC>   recompilation. Jobs are created without instance affinity so that they
DOC>   can migrate across RAC nodes. Use the following queries to verify
DOC>   whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC>   1. Query showing jobs created by UTL_RECOMP
DOC>         SELECT job_name FROM dba_scheduler_jobs
DOC>                    WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC>   2. Query showing UTL_RECOMP jobs that are running
DOC>         SELECT job_name FROM dba_scheduler_running_jobs
DOC>                    WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#

PL/SQL procedure successfully completed.

TIMESTAMP
--------------------------------------------------------------------------------
COMP_TIMESTAMP UTLRP_END                    2021-01-31 02:34:29

DOC> The following query reports the number of invalid objects.
DOC>
DOC> If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#
OBJECTS WITH ERRORS
-------------------
0


DOC> The following query reports the number of exceptions caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC> Note: Typical compilation errors (due to coding errors) are not
DOC>       logged into this table: they go into DBA_ERRORS instead.
DOC>#

ERRORS DURING RECOMPILATION
---------------------------
0
                                              
Function created.
PL/SQL procedure successfully completed.
Function dropped.
PL/SQL procedure successfully completed.
SQL> select count(*) from dba_objects where status='INVALID';

COUNT(*)
----------
0

Step:13 Upgrade the time zone by running the following scripts,

SQL> @?/rdbms/admin/utltz_upg_check.sql

Session altered.

INFO: Starting with RDBMS DST update preparation.
INFO: NO actual RDBMS DST update will be done by this script.
INFO: If an ERROR occurs the script will EXIT sqlplus.
INFO: Doing checks for known issues ...
INFO: Database version is 19.0.0.0 .
INFO: Database RDBMS DST version is DSTv26 .
INFO: No known issues detected.
INFO: Now detecting new RDBMS DST version.
A prepare window has been successfully started.
INFO: Newest RDBMS DST version detected is DSTv32 .
INFO: Next step is checking all TSTZ data.
INFO: It might take a while before any further output is seen ...
A prepare window has been successfully ended.
INFO: A newer RDBMS DST version than the one currently used is found.
INFO: Note that NO DST update was yet done.
INFO: Now run utltz_upg_apply.sql to do the actual RDBMS DST update.
INFO: Note that the utltz_upg_apply.sql script will
INFO: restart the database 2 times WITHOUT any confirmation or prompt.
Session altered.

SQL> @?/rdbms/admin/utltz_upg_apply.sql
Session altered.

INFO: If an ERROR occurs, the script will EXIT SQL*Plus.
INFO: The database RDBMS DST version will be updated to DSTv32 .
WARNING: This script will restart the database 2 times
WARNING: WITHOUT asking ANY confirmation.
WARNING: Hit control-c NOW if this is not intended.
INFO: Restarting the database in UPGRADE mode to start the DST upgrade.
Database closed.
Database dismounted.
ORACLE instance shut down.
ORACLE instance started.
Total System Global Area 2432695144 bytes
Fixed Size                                8899432 bytes
Variable Size                        637534208 bytes
Database Buffers             1778384896 bytes
Redo Buffers                         7876608 bytes
Database mounted.
Database opened.

INFO: Starting the RDBMS DST upgrade.
INFO: Upgrading all SYS owned TSTZ data.
INFO: It might take time before any further output is seen ...

An upgrade window has been successfully started.
INFO: Restarting the database in NORMAL mode to upgrade non-SYS TSTZ data.
Database closed.
Database dismounted.
ORACLE instance shut down.
ORACLE instance started.
Total System Global Area 2432695144 bytes
Fixed Size                                8899432 bytes
Variable Size                        637534208 bytes
Database Buffers             1778384896 bytes
Redo Buffers                         7876608 bytes
Database mounted.
Database opened.

INFO: Upgrading all non-SYS TSTZ data.
INFO: It might take time before any further output is seen ...
INFO: Do NOT start any application yet that uses TSTZ data!
INFO: Next is a list of all upgraded tables:
Table list: "GSMADMIN_INTERNAL"."AQ$_CHANGE_LOG_QUEUE_TABLE_L"
Number of failures: 0
Table list: "GSMADMIN_INTERNAL"."AQ$_CHANGE_LOG_QUEUE_TABLE_S"
Number of failures: 0
Table list: "MDSYS"."SDO_DIAG_MESSAGES_TABLE"
Number of failures: 0
Table list: "DVSYS"."AUDIT_TRAIL$"
Number of failures: 0
Table list: "DVSYS"."SIMULATION_LOG$"
Number of failures: 0
INFO: Total failures during update of TSTZ data: 0 .
An upgrade window has been successfully ended.
INFO: Your new Server RDBMS DST version is DSTv32 .
INFO: The RDBMS DST update is successfully finished.
INFO: Make sure to exit this SQL*Plus session.
INFO: Do not use it for timezone related selects.
Session altered.

SQL> SELECT version FROM v$timezone_file;

VERSION
----------
    32

1 row selected.

Step:14 Run utlusts.sql ,this script reads the view dba_registry_log and displays the upgrade results for the database components.

SQL>  @?/rdbms/admin/utlusts.sql text
Oracle Database Release 19 Post-Upgrade Status Tool    01-31-2021 02:43:1
Database Name: AUSTRALIA
Component                                                        Current           Full       Elapsed Time
Name                                                          Status         Version  HH:MM:SS
Oracle Server                                                      VALID      19.3.0.0.0  00:18:34
JServer JAVA Virtual Machine                      VALID      19.3.0.0.0  00:01:34
Oracle XDK                                                         VALID      19.3.0.0.0  00:00:47
Oracle Database Java Packages                    VALID      19.3.0.0.0  00:00:13
OLAP Analytic Workspace                               VALID      19.3.0.0.0  00:00:12
Oracle Label Security                                        VALID      19.3.0.0.0  00:00:06
Oracle Database Vault                                     VALID      19.3.0.0.0  00:00:20
Oracle Text                                                        VALID      19.3.0.0.0  00:00:31
Oracle Workspace Manager                          VALID      19.3.0.0.0  00:00:27
Oracle Real Application Clusters     OPTION OFF      19.3.0.0.0  00:00:00
Oracle XML Database                                       VALID      19.3.0.0.0  00:01:31
Oracle Multimedia                                             VALID      19.3.0.0.0  00:00:47
Spatial                                                      VALID      19.3.0.0.0  00:05:33
Oracle OLAP API                                                  VALID      19.3.0.0.0  00:00:10
Datapatch                                                                                       00:03:27

Final Actions                                                                                   00:03:35
Post Upgrade                                                                                    00:00:17
Post Compile                                                                                    00:03:53

Total Upgrade Time: 00:39:14

Database time zone version is 32. It meets current release needs.

Step:15 Drop Restore point as we have successfully completed the manual upgradation.

SQL> drop restore point PRE_UPGRADE;

Restore point dropped.

SQL> select NAME,GUARANTEE_FLASHBACK_DATABASE,TIME from V$restore_point;

no rows selected

Step:16 Set COMPATIBALE parameter value to 19.0.0 from 12.2.0

SQL> show parameter COMPATIBLE

NAME                                     TYPE VALUE
------------------------------------ ----------- ------------------------------

compatible                              string                12.2.0
noncdb_compatible                       boolean          FALSE


SQL> ALTER SYSTEM SET COMPATIBLE = '19.0.0' SCOPE=SPFILE;

System altered.

SQL> shut immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started
Total System Global Area 2432695144 bytes
Fixed Size                                8899432 bytes
Variable Size                        637534208 bytes
Database Buffers             1778384896 bytes
Redo Buffers                         7876608 bytes
Database mounted.
Database opened.

SQL> show parameter COMPATIBLE

NAME                                     TYPE VALUE
------------------------------------ ----------- ------------------------------
compatible                              string                19.0.0
noncdb_compatible                       boolean          FALSE

Step:17 Verify DBA_REGISTRY 

SQL> col COMP_ID for a10
col COMP_NAME for a40
col VERSION for a15
set lines 180
set pages 999
select COMP_ID,COMP_NAME,VERSION,STATUS from dba_registry;
SQL>

COMP_ID                                    COMP_NAME               VERSION              STATUS

------------------------------ ---------------------------------------- --------------- --------------------------------------------
CATALOG                                   Oracle Database Catalog Views     19.0.0.0.0             VALID
CATPROC                                    Oracle Database Packages and Types  19.0.0.0.0             VALID
JAVAVM                                      JServer JAVA Virtual Machine       19.0.0.0.0             VALID
XML                                         Oracle XDK                         19.0.0.0.0             VALID
CATJAVA                                     Oracle Database Java Packages      19.0.0.0.0             VALID
APS                                        OLAP Analytic Workspace            19.0.0.0.0             VALID
RAC                                        Oracle Real Application Clusters   19.0.0.0.0        OPTION OFF
XDB                                       Oracle XML Database         19.0.0.0.0             VALID
OWM                                        Oracle Workspace Manager        19.0.0.0.0             VALID
CONTEXT                                    Oracle Text                         19.0.0.0.0             VALID
ORDIM                                      Oracle Multimedia                  19.0.0.0.0             VALID
SDO                                        Spatial                             19.0.0.0.0             VALID                                
XOQ                                        Oracle OLAP API                19.0.0.0.0             VALID
OLS                                        Oracle Label Security          19.0.0.0.0             VALID
DV                                         Oracle Database Vault        19.0.0.0.0             VALID



15 rows selected.

Step:18 Add TNS Entries in 19c TNS home 

[oracle@orcldbs admin]$ lsnrctl start
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 31-JAN-2021 02:56:33
Copyright (c) 1991, 2019, Oracle.  All rights reserved.
TNS-01106: Listener using listener name LISTENER has already been starte
[oracle@orcldbs admin]$ lsnrctl stop
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 31-JAN-2021 02:56:38
Copyright (c) 1991, 2019, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.26)(PORT=1521)))
The command completed successfully
[oracle@orcldbs admin]$ lsnrctl start
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 31-JAN-2021 02:56:41
Copyright (c) 1991, 2019, Oracle.  All rights reserved.
Starting /u01/app/oracle/product/19.0.0/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 19.0.0.0.0 - Production
System parameter file is /u01/app/oracle/product/19.0.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/orcldbs/listener/alert/log.xml

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.26)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.26)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 19.0.0.0.0 - Production
Start Date                31-JAN-2021 02:56:41
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF

Listener Parameter File   /u01/app/oracle/product/19.0.0/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/orcldbs/listener/alert/log.xml
Listening Endpoints Summary...

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.26)(PORT=1521)))
Services Summary...

Service "australia" has 1 instance(s).
Instance "australia", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@orcldbs admin]$ lsnrctl status
LSNRCTL for Linux: Version 19.0.0.0.0 - Production on 31-JAN-2021 02:56:50
Copyright (c) 1991, 2019, Oracle.  All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.26)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 19.0.0.0.0 - Production
Start Date                31-JAN-2021 02:56:41
Uptime                    0 days 0 hr. 0 min. 9 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/app/oracle/product/19.0.0/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/app/oracle/diag/tnslsnr/orcldbs/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.1.26)(PORT=1521)))
Services Summary...
Service "australia" has 1 instance(s).
Instance "australia", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully

Step:19 Edit oratab,Put an entry of current database in the vi /etc/oratab file.

[oracle@orcldbs admin]$ cat /etc/oratab | grep -i australia
australia:/u01/app/oracle/product/12.2.0/db_1:N
[oracle@orcldbs admin]$ cat /etc/oratab | grep -i australia
australia:/u01/app/oracle/product/19.0.0/dbhome_1:Y
australia:/u01/app/oracle/product/12.2.0/db_1:N

19c GRID UPGRADE

Oracle Grid Infrastructure Upgrade:

We can do upgrade Oracle Grid Infrastructure below ways:

  • Rolling Upgrade which involves upgrading individual nodes without stopping Oracle Grid Infrastructure on other nodes in the cluster.
  • Non-rolling Upgrade which involves bringing down all the nodes except one. A complete cluster outage occurs while the root script stops the old Oracle Clusterware stack and starts the new Oracle Clusterware stack on the node where you initiate the upgrade. After upgrade is completed, the new Oracle Clusterware is started on all the nodes.

Note that some services are disabled when one or more nodes are in the process of being upgraded. All upgrades are out-of-place upgrades, meaning that the software binaries are placed in a different Grid home from the Grid home used for the prior release.

  • When you upgrade to Oracle Grid Infrastructure 19c, you upgrade to an Oracle Standalone Cluster configuration.
  • You can use either Oracle ASM or a shared file system to store OCR and voting files on Oracle Standalone Cluster deployments. If storage for OCR and voting files is other than Oracle ASM on other cluster types, then you need to migrate OCR and voting files to Oracle ASM before upgrading to Oracle Grid Infrastructure 19c.

Restrictions for Oracle Grid Infrastructure Upgrades:

  • Oracle Grid Infrastructure upgrades are always out-of-place upgrades. You cannot perform an in-place upgrade of Oracle Grid Infrastructure to existing homes.
  • The same user that owned the earlier release Oracle Grid Infrastructure software must perform the Oracle Grid Infrastructure 19c upgrade.
  • Oracle ASM and Oracle Clusterware both run in the Oracle Grid Infrastructure home.
  • When you upgrade Oracle Grid Infrastructure, you upgrade to an Oracle Flex Cluster configuration.
  • Do not delete directories in the Grid home. For example, do not delete the directory Grid_home/OPatch. If you delete the directory, then the Grid infrastructure installation owner cannot use OPatch utility to patch the grid home, and OPatch displays the error message “‘checkdir’ error: cannot create Grid_home/OPatch”.
  • To upgrade existing Oracle Grid Infrastructure installations to Oracle Grid Infrastructure 19c, you must first verify if you need to apply any mandatory patches for upgrade to succeed.Oracle recommends that you use the Cluster Verification Utility tool (CVU) to check if there are any patches required for upgrading your existing Oracle Grid Infrastructure or Oracle RAC database installations. See Using CVU to Validate Readiness for Oracle Clusterware Upgrades for steps to check readiness.
  • The software in the 19c Oracle Grid Infrastructure home is not fully functional until the upgrade is completed. Running srvctl, crsctl, and other commands from the new Grid homes are not supported until the final rootupgrade.sh script is run and the upgrade is complete across all nodes.To manage databases in existing earlier release database homes during the Oracle Grid Infrastructure upgrade, use the srvctl from the existing database homes.
  • To upgrade existing Oracle Clusterware installations to Oracle Grid Infrastructure 19c cluster, your release must be greater than or equal to Oracle Grid Infrastructure 11g Release 2 (11.2.0.4).

Upgrading Shared Grid Homes

  • If the existing Oracle Clusterware home is a shared home, then you can use a non-shared home for the Oracle Grid Infrastructure for a cluster home for Oracle Clusterware and Oracle ASM 19c.
  • You can perform upgrades on a shared Oracle Clusterware home.
Check current Oracle Cluster ware installation readiness for upgrades using Cluster
Verification Utility (CVU)
 
From the 19c Grid Infrastructure home execute:
[oracle@rac01 grid]$ ./runcluvfy.sh stage -pre hacfg

Verifying Physical Memory ...PASSED
Verifying Available Physical Memory ...PASSED
Verifying Swap Size ...PASSED
Verifying Free Space: rac01:/usr,rac01:/etc,rac01:/sbin ...PASSED
Verifying Free Space: rac01:/var ...PASSED
Verifying Free Space: rac01:/tmp ...PASSED
Verifying User Existence: oracle ...
Verifying Users With Same UID: 1001 ...PASSED
Verifying User Existence: oracle ...PASSED
Verifying Group Existence: dba ...PASSED
Verifying Group Existence: oinstall ...PASSED
Verifying Group Membership: oinstall(Primary) ...PASSED
Verifying Group Membership: dba ...PASSED
Verifying Run Level ...PASSED
Verifying Architecture ...PASSED
Verifying OS Kernel Version ...PASSED
Verifying OS Kernel Parameter: semmsl ...PASSED
Verifying OS Kernel Parameter: semmns ...PASSED
Verifying OS Kernel Parameter: semopm ...PASSED
Verifying OS Kernel Parameter: semmni ...PASSED
Verifying OS Kernel Parameter: shmmax ...PASSED
Verifying OS Kernel Parameter: shmmni ...PASSED
Verifying OS Kernel Parameter: shmall ...PASSED
Verifying OS Kernel Parameter: file-max ...PASSED
Verifying OS Kernel Parameter: ip_local_port_range ...PASSED
Verifying OS Kernel Parameter: rmem_default ...PASSED
Verifying OS Kernel Parameter: rmem_max ...PASSED
Verifying OS Kernel Parameter: wmem_default ...PASSED
Verifying OS Kernel Parameter: wmem_max ...PASSED
Verifying OS Kernel Parameter: aio-max-nr ...PASSED
Verifying Package: kmod-20-21 (x86_64) ...PASSED
Verifying Package: kmod-libs-20-21 (x86_64) ...PASSED
Verifying Package: binutils-2.23.52.0.1 ...PASSED
Verifying Package: compat-libcap1-1.10 ...PASSED
Verifying Package: libgcc-4.8.2 (x86_64) ...PASSED
Verifying Package: libstdc++-4.8.2 (x86_64) ...PASSED
Verifying Package: libstdc++-devel-4.8.2 (x86_64) ...PASSED
Verifying Package: sysstat-10.1.5 ...PASSED
Verifying Package: gcc-c++-4.8.2 ...PASSED
Verifying Package: ksh ...PASSED
Verifying Package: make-3.82 ...PASSED
Verifying Package: glibc-2.17 (x86_64) ...PASSED
Verifying Package: glibc-devel-2.17 (x86_64) ...PASSED
Verifying Package: libaio-0.3.109 (x86_64) ...PASSED
Verifying Package: libaio-devel-0.3.109 (x86_64) ...PASSED
Verifying Package: nfs-utils-1.2.3-15 ...PASSED
Verifying Package: smartmontools-6.2-4 ...PASSED
Verifying Package: net-tools-2.0-0.17 ...PASSED
Verifying Package: compat-libstdc++-33-3.2.3 (x86_64) ...PASSED
Verifying Package: libxcb-1.11 (x86_64) ...PASSED
Verifying Package: libX11-1.6.3 (x86_64) ...PASSED
Verifying Package: libXau-1.0.8 (x86_64) ...PASSED
Verifying Package: libXi-1.7.4 (x86_64) ...PASSED
Verifying Package: libXtst-1.2.2 (x86_64) ...PASSED
Verifying Users With Same UID: 0 ...PASSED
Verifying Current Group ID ...PASSED
Verifying Root user consistency ...PASSED

Pre-check for Oracle Restart configuration was successful.

CVU operation performed: stage -pre hacfg
Date: Feb 20, 2021 09:41:39 AM
CVU home: /u02/app/oracle/product/19.3.0.0/grid/
User: oracle
[oracle@rac01 grid]$

Start the 19c Grid Infrastructure upgrade:

[oracle@rac01 grid]$ ./gridSetup.sh

In Pre-req we are facing this issue. We need to apply these two patches then only we can go ahead for 19c grid upgrade.

Update opatch version and apply patches 28553832 and 27006180.

Now, we have grid setup in directory /u02/app/grid/product/19.3.0/grid , before proceed with the installation. let’s check current Grid Infrastructure version.

[oracle@rac01 ~]$ crsctl query has releaseversion
Oracle High Availability Services release version on the local node is [12.2.0.1.0]
[oracle@rac01 ~]$ crsctl query has softwareversion
Oracle High Availability Services version on the local node is [12.2.0.1.0]

As we can see, the current version of Grid Infrastructure is 12.2.0.1.0 that is 12cR2.

We can initiate installation wizard by running below command.

Make sure you bring down your all database instance(s) before initiating upgrade. If you are trying to upgrade grid without bringing down database instance

[oracle@rac01 ~]$ /u02/app/grid/product/19.3.0/grid/./gridSetup.sh
Launching Oracle Grid Infrastructure Setup Wizard...

  • Select Upgrade Oracle Gird Infrastructure, and click NEXT

  • Select if you’ve configured EM(Cloud Control) agent on you server, else without selecting any option click NEXT.

  • As we can see, our Grid Infrastructure Home is by default the location where we’ve copied grid setup, verify Oracle base for Grid Infrastructure and click NEXT.

  • Here you can provide your root credentials which will automatically run root script during installation, optionally you can use sudo as well.

  • Here If  we get warning for Physical Memory in prerequisite check, as Oracle recommends 8 GB of minimum physical memory for Grid Infrastructure. Here we have sufficient memory so let’s click NEXT.

  • Summary screen, verify your selections and modify if needed, then click NEXT.

  • Installation has began now.

  • Here we get the prompt to run root script  , If we provided earlier using the credentials It will ask yes or no prompt but in our case we didn’t provided the credentials so we need to run manually here.
  • Once you run root.sh script below logs will run in our putty session.
[oracle@rac01:+ASM] sudo /u02/app/oracle/product/19.3.0.0/grid/rootupgrade.sh
[sudo] password for oracle:
Performing root user operation.

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u02/app/oracle/product/19.3.0.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: 
/u02/app/oracle/product/19.3.0.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u02/app/oracle/crsdata/rac01/crsconfig/roothas_2021-02-20_10-02-12AM.log
2021/02/20 10:02:15 CLSRSC-595: Executing upgrade step 1 of 12: 'UpgPrechecks'.
2021/02/20 10:02:19 CLSRSC-595: Executing upgrade step 2 of 12: 'GetOldConfig'.
2021/02/20 10:02:23 CLSRSC-595: Executing upgrade step 3 of 12: 'GenSiteGUIDs'.
2021/02/20 10:02:23 CLSRSC-595: Executing upgrade step 4 of 12: 'SetupOSD'.
2021/02/20 10:02:23 CLSRSC-595: Executing upgrade step 5 of 12: 'PreUpgrade'.

ASM has been upgraded and started successfully.

2021/02/20 10:03:30 CLSRSC-595: Executing upgrade step 6 of 12: 'UpgradeAFD'.
2021/02/20 10:03:31 CLSRSC-595: Executing upgrade step 7 of 12: 'UpgradeOLR'.
clscfg: EXISTING configuration version 0 detected.
Creating OCR keys for user 'oracle', privgrp 'oinstall'..
Operation successful.
2021/02/20 10:03:35 CLSRSC-595: Executing upgrade step 8 of 12: 'UpgradeOCR'.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node rac01 successfully pinned.
2021/02/20 10:03:37 CLSRSC-595: Executing upgrade step 9 of 12: 'CreateOHASD'.
2021/02/20 10:03:39 CLSRSC-595: Executing upgrade step 10 of 12: 'ConfigOHASD'.
2021/02/20 10:03:39 CLSRSC-329: Replacing Clusterware entries in file 
'oracle-ohasd.service'
2021/02/20 10:03:57 CLSRSC-595: Executing upgrade step 11 of 12: 'UpgradeSIHA'.
rac01 2021/02/20 10:04:39 /u02/app/oracle/crsdata/rac01/olr/backup_20210220_100439.olr 
724960844
rac01 2020/08/24 00:18:44 
/u01/app/oracle/product/12.2.0.1/grid/cdata/rac01/backup_20200824_001844.olr 1977687601
2021/02/20 10:04:39 CLSRSC-595: Executing upgrade step 12 of 12: 'InstallACFS'.
2021/02/20 10:07:49 CLSRSC-327: 
Successfully configured Oracle Restart for a standalone server.
  • And here installation finished.

We have successfully upgraded Oracle Grid Infrastructure 12cR2 to Oracle Grid Infrastructure 19c on our database.

Post checks:

  • Change ORACLE_HOME pointing to new 19c binaries in bash profile.
  • If your listener entry is in old ORACLE_HOME change that to new ORACLE_HOME.
  • Let’s now invoke SQL*Plus and check if we can login to Oracle Grid Infrastructure 19c.

Thank you for giving your valuable time to read the above information.
If you want to be updated with all our articles send us the Invitation or Follow us:
Ramkumar’s LinkedIn: https://www.linkedin.com/in/ramkumardba/
LinkedIn Group: https://www.linkedin.com/in/ramkumar-m-0061a0204/
Facebook Page: https://www.facebook.com/Oracleagent-344577549964301
Ramkumar’s Twitter : https://twitter.com/ramkuma02877110
Ramkumar’s Telegram: https://t.me/oracleageant
Ramkumar’s Facebook: https://www.facebook.com/ramkumarram8

 

Database Upgrade from 12c to 19c using Datapump

Database Upgrade from 12c to 19c using Datapump

Overview steps:

Step:1 Check the database size in source.
Step:2 check which tablespace holds the schema objects.
Step:3 compile invalid objects in source.
step:4 check the  count of invalid dba_objects in the source.
Step:5 create a directory for export purpose both in OS level and database level.
Step:6 Estimate the size of dumpfile, so that we can know when will the export get completed.
Step:7 export the database(TANSTAL).
Step:8 create a fresh database for import.
Step:9 Now create a directory in both OS level and database level for import purpose in the newly created database.
Step:10 import the database.(ZHIGOMA)
Step:11 Post upgrade steps in target database.
               11.1 compile invalid objects in target database.
               11.2 check whether any invalid objects present.
               11.3 Run the query to check for currently installed database components.

Step:12  Verify the timezone of the upgraded database.

Step:13  Check the CONSTRAINTS count in both source & target.it is used to display the constraints that are defined in the database.

Step:1 Check the database size in source .

SQL> col "Database Size" format a20
col "Free space" format a20
col "Used space" format a20
select round(sum(used.bytes) / 1024 / 1024 / 1024 ) || ' GB' "Database Size"
, round(sum(used.bytes) / 1024 / 1024 / 1024 ) -
round(free.p / 1024 / 1024 / 1024) || ' GB' "Used space"
, round(free.p / 1024 / 1024 / 1024) || ' GB' "Free space"
from (select bytes
from v$datafile
union all
select bytes
from v$tempfile
union all
select bytes
from v$log) used
, (select sum(bytes) as p
from dba_free_space) free
group by free.p

Database Size             Used space         Free space
-------------------- -------------------- --------------------
    2 GB                    2 GB               0 GB

SQL>

Step:2 execute the following query to check which tablespace holds the schema objects.

set pagesize 130
break on Tablespace on Owner
column Objects format A20
select Tablespace_Name,Owner,COUNT(*)||’ tables’ Objects
from DBA_TABLES
group by Tablespace_Name,Owner
union
select Tablespace_Name, Owner, COUNT(*)||’ indexes’ Objects
from DBA_INDEXES
group by Tablespace_Name, Owner;

Step:3 compile invalid objects in source to reduce dependencies, so that we can find the best way to recompile it.

SQL> @?/rdbms/admin/utlrp.sql

COMP_TIMESTAMP UTLRP_BGN 2021-01-31 20:19:36

DOC> The following PL/SQL block invokes UTL_RECOMP to recompile invalid
DOC> objects in the database. Recompilation time is proportional to the
DOC> number of invalid objects in the database, so this command may take
DOC> a long time to execute on a database with a large number of invalid
DOC> objects.
DOC>
DOC> Use the following queries to track recompilation progress:
DOC>
DOC> 1. Query returning the number of invalid objects remaining. This
DOC> number should decrease with time.
DOC> SELECT COUNT(*) FROM obj$ WHERE status IN (4, 5, 6);
DOC>
DOC> 2. Query returning the number of objects compiled so far. This number
DOC> should increase with time.
DOC> SELECT COUNT(*) FROM UTL_RECOMP_COMPILED;
DOC>
DOC> This script automatically chooses serial or parallel recompilation
DOC> based on the number of CPUs available (parameter cpu_count) multiplied
DOC> by the number of threads per CPU (parameter parallel_threads_per_cpu).
DOC> On RAC, this number is added across all RAC nodes.
DOC>
DOC> UTL_RECOMP uses DBMS_SCHEDULER to create jobs for parallel
DOC> recompilation. Jobs are created without instance affinity so that they
DOC> can migrate across RAC nodes. Use the following queries to verify
DOC> whether UTL_RECOMP jobs are being created and run correctly:
DOC>
DOC> 1. Query showing jobs created by UTL_RECOMP
DOC> SELECT job_name FROM dba_scheduler_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>
DOC> 2. Query showing UTL_RECOMP jobs that are running
DOC> SELECT job_name FROM dba_scheduler_running_jobs
DOC> WHERE job_name like 'UTL_RECOMP_SLAVE_%';
DOC>#

PL/SQL procedure successfully completed.

COMP_TIMESTAMP UTLRP_END 2021-01-31 20:19:39

DOC> The following query reports the number of invalid objects.
DOC>
DOC> If the number is higher than expected, please examine the error
DOC> messages reported with each object (using SHOW ERRORS) to see if they
DOC> point to system misconfiguration or resource constraints that must be
DOC> fixed before attempting to recompile these objects.
DOC>#

0

DOC> The following query reports the number of exceptions caught during
DOC> recompilation. If this number is non-zero, please query the error
DOC> messages in the table UTL_RECOMP_ERRORS to see if any of these errors
DOC> are due to misconfiguration or resource constraints that must be
DOC> fixed before objects can compile successfully.
DOC> Note: Typical compilation errors (due to coding errors) are not
DOC> logged into this table: they go into DBA_ERRORS instead.
DOC>#

0

Function created.

PL/SQL procedure successfully completed.

Function dropped.

PL/SQL procedure successfully completed.

step:4 check the  count of invalid dba_objects in the source.

SQL> select count(*) from dba_objects where status=’INVALID’;

COUNT(*)
----------
0

Step:5 create a directory for export purpose both in OS level and database level.

mkdir /u01/export

create directory export as '/u01/export';

Directory created

[oracle@orcldbs ~]$ mkdir export
[oracle@orcldbs ~]$ ls
12c.env Documents export oraprod.env Templates
19c.env Downloads Music Pictures utlrp.out
Desktop em13400_linux64-3.zip oradiag_oracle Public Videos

Create  a table employee in the user : rahul.

Step:6 Estimate the size of dumpfile by this we are able to know the completion time of export activity.

[oracle@orcldbs export]$ expdp directory=export full=Y nologfile=Y estimate_only=Y

Export: Release 12.2.0.1.0 - Production on Sun Jan 31 22:09:14 2021

Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.

Username: system
Password:

Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Starting "SYSTEM"."SYS_EXPORT_FULL_01": system/******** directory=export full=Y nologfile=Y estimate_only=Y 
Estimate in progress using BLOCKS method...
Processing object type DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
. estimated "SYS"."KU$_USER_MAPPING_VIEW" 64 KB
. estimated "ORDDATA"."ORDDCM_DOCS" 1.25 MB
. estimated "WMSYS"."WM$CONSTRAINTS_TABLE$" 320 KB
. estimated "SYS"."AUD$" 256 KB
. estimated "WMSYS"."WM$LOCKROWS_INFO$" 192 KB
. estimated "WMSYS"."WM$UDTRIG_INFO$" 192 KB
. estimated "LBACSYS"."OLS$AUDIT_ACTIONS" 64 KB
. estimated "LBACSYS"."OLS$DIP_EVENTS" 64 KB
. estimated "LBACSYS"."OLS$INSTALLATIONS" 64 KB
. estimated "LBACSYS"."OLS$PROPS" 64 KB
. estimated "SYS"."DAM_CLEANUP_EVENTS$" 64 KB
. estimated "SYS"."DAM_CLEANUP_JOBS$" 64 KB
. estimated "SYS"."DAM_CONFIG_PARAM$" 64 KB
. estimated "SYS"."TSDP_ASSOCIATION$" 64 KB
. estimated "SYS"."TSDP_CONDITION$" 64 KB
. estimated "SYS"."TSDP_FEATURE_POLICY$" 64 KB
. estimated "SYS"."TSDP_PARAMETER$" 64 KB
. estimated "SYS"."TSDP_POLICY$" 64 KB
. estimated "SYS"."TSDP_PROTECTION$" 64 KB
. estimated "SYS"."TSDP_SENSITIVE_DATA$" 64 KB
. estimated "SYS"."TSDP_SENSITIVE_TYPE$" 64 KB
. estimated "SYS"."TSDP_SOURCE$" 64 KB
. estimated "SYS"."TSDP_SUBPOL$" 64 KB
. estimated "SYSTEM"."REDO_DB" 64 KB
. estimated "SYSTEM"."REDO_LOG" 64 KB
. estimated "WMSYS"."WM$BATCH_COMPRESSIBLE_TABLES$" 64 KB
. estimated "WMSYS"."WM$CONS_COLUMNS$" 64 KB
. estimated "WMSYS"."WM$ENV_VARS$" 64 KB
. estimated "WMSYS"."WM$EVENTS_INFO$" 64 KB
. estimated "WMSYS"."WM$HINT_TABLE$" 64 KB
. estimated "WMSYS"."WM$MODIFIED_TABLES$" 64 KB
. estimated "WMSYS"."WM$MP_GRAPH_WORKSPACES_TABLE$" 64 KB
. estimated "WMSYS"."WM$MP_PARENT_WORKSPACES_TABLE$" 64 KB
. estimated "WMSYS"."WM$NESTED_COLUMNS_TABLE$" 64 KB
. estimated "WMSYS"."WM$NEXTVER_TABLE$" 64 KB
. estimated "WMSYS"."WM$RESOLVE_WORKSPACES_TABLE$" 64 KB
. estimated "WMSYS"."WM$RIC_LOCKING_TABLE$" 64 KB
. estimated "WMSYS"."WM$RIC_TABLE$" 64 KB
. estimated "WMSYS"."WM$RIC_TRIGGERS_TABLE$" 64 KB
. estimated "WMSYS"."WM$UDTRIG_DISPATCH_PROCS$" 64 KB
. estimated "WMSYS"."WM$VERSION_HIERARCHY_TABLE$" 64 KB
. estimated "WMSYS"."WM$VERSION_TABLE$" 64 KB
. estimated "WMSYS"."WM$VT_ERRORS_TABLE$" 64 KB
. estimated "WMSYS"."WM$WORKSPACES_TABLE$" 64 KB
. estimated "WMSYS"."WM$WORKSPACE_PRIV_TABLE$" 64 KB
. estimated "WMSYS"."WM$WORKSPACE_SAVEPOINTS_TABLE$" 64 KB
. estimated "LBACSYS"."OLS$AUDIT" 0 KB
. estimated "LBACSYS"."OLS$COMPARTMENTS" 0 KB
. estimated "LBACSYS"."OLS$DIP_DEBUG" 0 KB
. estimated "LBACSYS"."OLS$GROUPS" 0 KB
. estimated "LBACSYS"."OLS$LAB" 0 KB
. estimated "LBACSYS"."OLS$LEVELS" 0 KB
. estimated "LBACSYS"."OLS$POL" 0 KB
. estimated "LBACSYS"."OLS$POLICY_ADMIN" 0 KB
. estimated "LBACSYS"."OLS$POLS" 0 KB
. estimated "LBACSYS"."OLS$POLT" 0 KB
. estimated "LBACSYS"."OLS$PROFILE" 0 KB
. estimated "LBACSYS"."OLS$PROFILES" 0 KB
. estimated "LBACSYS"."OLS$PROG" 0 KB
. estimated "LBACSYS"."OLS$SESSINFO" 0 KB
. estimated "LBACSYS"."OLS$USER" 0 KB
. estimated "LBACSYS"."OLS$USER_COMPARTMENTS" 0 KB
. estimated "LBACSYS"."OLS$USER_GROUPS" 0 KB
. estimated "LBACSYS"."OLS$USER_LEVELS" 0 KB
. estimated "SYS"."FGA_LOG$FOR_EXPORT" 256 KB
. estimated "SYS"."SQL$TEXT_DATAPUMP" 192 KB
. estimated "SYS"."SQLOBJ$DATA_DATAPUMP" 192 KB
. estimated "SYS"."SQL$_DATAPUMP" 128 KB
. estimated "SYS"."SQLOBJ$AUXDATA_DATAPUMP" 128 KB
. estimated "SYS"."SQLOBJ$PLAN_DATAPUMP" 128 KB
. estimated "SYS"."SQLOBJ$_DATAPUMP" 128 KB
. estimated "SYSTEM"."SCHEDULER_JOB_ARGS" 128 KB
. estimated "SYSTEM"."SCHEDULER_PROGRAM_ARGS" 128 KB
. estimated "SYS"."AUDTAB$TBS$FOR_EXPORT" 64 KB
. estimated "SYS"."DBA_SENSITIVE_DATA" 64 KB
. estimated "SYS"."DBA_TSDP_POLICY_PROTECTION" 64 KB
. estimated "SYS"."NACL$_ACE_EXP" 64 KB
. estimated "SYS"."NACL$_HOST_EXP" 64 KB
. estimated "SYS"."NACL$_WALLET_EXP" 64 KB
. estimated "MDSYS"."RDF_PARAM$" 16 KB
. estimated "WMSYS"."WM$EXP_MAP" 16 KB
. estimated "WMSYS"."WM$METADATA_MAP" 16 KB
Total estimation using BLOCKS method: 6.546 MB
Job "SYSTEM"."SYS_EXPORT_FULL_01" successfully completed at Sun Jan 31 22:09:32 2021 elapsed 0 00:00:11

Step:7 export the roles and privileges.

[oracle@orcldbs ~]$ expdp directory=export dumpfile=orclfull.dmp logfile=roles.log full=Y INCLUDE=USER,ROLE,ROLE_GRANT,PROFILE

Step:8 Now it’s time to export our database(TANSTAL) 

[oracle@orcldbs ~]$ expdp system/oracle@tanstal DIRECTORY=export DUMPFILE=orclfull.dmp LOGFILE=full_exp.log FULL=YES;

Export: Release 12.2.0.1.0 - Production on Sun Jan 31 22:16:25 2021
Copyright (c) 1982, 2017, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
Starting "SYSTEM"."SYS_EXPORT_FULL_01": system/********@tanstal DIRECTORY=export DUMPFILE=orclfull.dmp LOGFILE=full_exp.log FULL=YES 
Processing object type DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type DATABASE_EXPORT/STATISTICS/MARKER
Processing object type DATABASE_EXPORT/PRE_SYSTEM_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/PRE_INSTANCE_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/TABLESPACE
Processing object type DATABASE_EXPORT/PROFILE
Processing object type DATABASE_EXPORT/SYS_USER/USER
Processing object type DATABASE_EXPORT/SCHEMA/USER
Processing object type DATABASE_EXPORT/RADM_FPTM
Processing object type DATABASE_EXPORT/GRANT/SYSTEM_GRANT/PROC_SYSTEM_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/GRANT/SYSTEM_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/ROLE_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/DEFAULT_ROLE
Processing object type DATABASE_EXPORT/SCHEMA/ON_USER_GRANT
Processing object type DATABASE_EXPORT/RESOURCE_COST
Processing object type DATABASE_EXPORT/TRUSTED_DB_LINK
Processing object type DATABASE_EXPORT/DIRECTORY/DIRECTORY
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PRE_SYSTEM_ACTIONS/PROCACT_SYSTEM
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
Processing object type DATABASE_EXPORT/SYSTEM_PROCOBJACT/POST_SYSTEM_ACTIONS/PROCACT_SYSTEM
Processing object type DATABASE_EXPORT/SCHEMA/PROCACT_SCHEMA
Processing object type DATABASE_EXPORT/EARLY_OPTIONS/VIEWS_AS_TABLES/TABLE
Processing object type DATABASE_EXPORT/EARLY_POST_INSTANCE_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/TABLE
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE
Processing object type DATABASE_EXPORT/NORMAL_POST_INSTANCE_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/COMMENT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/INDEX
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/CONSTRAINT
Processing object type DATABASE_EXPORT/FINAL_POST_INSTANCE_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
Processing object type DATABASE_EXPORT/AUDIT_UNIFIED/AUDIT_POLICY_ENABLE
Processing object type DATABASE_EXPORT/POST_SYSTEM_IMPCALLOUT/MARKER
. . exported "SYS"."KU$_USER_MAPPING_VIEW" 6.078 KB 37 rows
. . exported "SYSTEM"."REDO_DB" 25.59 KB 1 rows
. . exported "ORDDATA"."ORDDCM_DOCS" 252.9 KB 9 rows
. . exported "WMSYS"."WM$WORKSPACES_TABLE$" 12.10 KB 1 rows
. . exported "WMSYS"."WM$HINT_TABLE$" 9.984 KB 97 rows
. . exported "LBACSYS"."OLS$INSTALLATIONS" 6.960 KB 2 rows
. . exported "WMSYS"."WM$WORKSPACE_PRIV_TABLE$" 7.078 KB 11 rows
. . exported "SYS"."DAM_CONFIG_PARAM$" 6.531 KB 14 rows
. . exported "SYS"."TSDP_SUBPOL$" 6.328 KB 1 rows
. . exported "WMSYS"."WM$NEXTVER_TABLE$" 6.375 KB 1 rows
. . exported "LBACSYS"."OLS$PROPS" 6.234 KB 5 rows
. . exported "WMSYS"."WM$ENV_VARS$" 6.015 KB 3 rows
. . exported "SYS"."TSDP_PARAMETER$" 5.953 KB 1 rows
. . exported "SYS"."TSDP_POLICY$" 5.921 KB 1 rows
. . exported "WMSYS"."WM$VERSION_HIERARCHY_TABLE$" 5.984 KB 1 rows
. . exported "WMSYS"."WM$EVENTS_INFO$" 5.812 KB 12 rows
. . exported "LBACSYS"."OLS$AUDIT_ACTIONS" 5.757 KB 8 rows
. . exported "LBACSYS"."OLS$DIP_EVENTS" 5.539 KB 2 rows
. . exported "LBACSYS"."OLS$AUDIT" 0 KB 0 rows
. . exported "LBACSYS"."OLS$COMPARTMENTS" 0 KB 0 rows
. . exported "LBACSYS"."OLS$DIP_DEBUG" 0 KB 0 rows
. . exported "LBACSYS"."OLS$GROUPS" 0 KB 0 rows
. . exported "LBACSYS"."OLS$LAB" 0 KB 0 rows
. . exported "LBACSYS"."OLS$LEVELS" 0 KB 0 rows
. . exported "LBACSYS"."OLS$POL" 0 KB 0 rows
. . exported "LBACSYS"."OLS$POLICY_ADMIN" 0 KB 0 rows
. . exported "LBACSYS"."OLS$POLS" 0 KB 0 rows
. . exported "LBACSYS"."OLS$POLT" 0 KB 0 rows
. . exported "LBACSYS"."OLS$PROFILE" 0 KB 0 rows
. . exported "LBACSYS"."OLS$PROFILES" 0 KB 0 rows
. . exported "LBACSYS"."OLS$PROG" 0 KB 0 rows
. . exported "LBACSYS"."OLS$SESSINFO" 0 KB 0 rows
. . exported "LBACSYS"."OLS$USER" 0 KB 0 rows
. . exported "LBACSYS"."OLS$USER_COMPARTMENTS" 0 KB 0 rows
. . exported "LBACSYS"."OLS$USER_GROUPS" 0 KB 0 rows
. . exported "LBACSYS"."OLS$USER_LEVELS" 0 KB 0 rows
. . exported "SYS"."AUD$" 0 KB 0 rows
. . exported "SYS"."DAM_CLEANUP_EVENTS$" 0 KB 0 rows
. . exported "SYS"."DAM_CLEANUP_JOBS$" 0 KB 0 rows
. . exported "SYS"."TSDP_ASSOCIATION$" 0 KB 0 rows
. . exported "SYS"."TSDP_CONDITION$" 0 KB 0 rows
. . exported "SYS"."TSDP_FEATURE_POLICY$" 0 KB 0 rows
. . exported "SYS"."TSDP_PROTECTION$" 0 KB 0 rows
. . exported "SYS"."TSDP_SENSITIVE_DATA$" 0 KB 0 rows
. . exported "SYS"."TSDP_SENSITIVE_TYPE$" 0 KB 0 rows
. . exported "SYS"."TSDP_SOURCE$" 0 KB 0 rows
. . exported "SYSTEM"."REDO_LOG" 0 KB 0 rows
. . exported "WMSYS"."WM$BATCH_COMPRESSIBLE_TABLES$" 0 KB 0 rows
. . exported "WMSYS"."WM$CONSTRAINTS_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$CONS_COLUMNS$" 0 KB 0 rows
. . exported "WMSYS"."WM$LOCKROWS_INFO$" 0 KB 0 rows
. . exported "WMSYS"."WM$MODIFIED_TABLES$" 0 KB 0 rows
. . exported "WMSYS"."WM$MP_GRAPH_WORKSPACES_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$MP_PARENT_WORKSPACES_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$NESTED_COLUMNS_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$RESOLVE_WORKSPACES_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$RIC_LOCKING_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$RIC_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$RIC_TRIGGERS_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$UDTRIG_DISPATCH_PROCS$" 0 KB 0 rows
. . exported "WMSYS"."WM$UDTRIG_INFO$" 0 KB 0 rows
. . exported "WMSYS"."WM$VERSION_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$VT_ERRORS_TABLE$" 0 KB 0 rows
. . exported "WMSYS"."WM$WORKSPACE_SAVEPOINTS_TABLE$" 0 KB 0 rows
. . exported "MDSYS"."RDF_PARAM$" 6.515 KB 3 rows
. . exported "SYS"."AUDTAB$TBS$FOR_EXPORT" 5.953 KB 2 rows
. . exported "SYS"."DBA_SENSITIVE_DATA" 0 KB 0 rows
. . exported "SYS"."DBA_TSDP_POLICY_PROTECTION" 0 KB 0 rows
. . exported "SYS"."FGA_LOG$FOR_EXPORT" 0 KB 0 rows
. . exported "SYS"."NACL$_ACE_EXP" 0 KB 0 rows
. . exported "SYS"."NACL$_HOST_EXP" 6.976 KB 2 rows
. . exported "SYS"."NACL$_WALLET_EXP" 0 KB 0 rows
. . exported "SYS"."SQL$TEXT_DATAPUMP" 0 KB 0 rows
. . exported "SYS"."SQL$_DATAPUMP" 0 KB 0 rows
. . exported "SYS"."SQLOBJ$AUXDATA_DATAPUMP" 0 KB 0 rows
. . exported "SYS"."SQLOBJ$DATA_DATAPUMP" 0 KB 0 rows
. . exported "SYS"."SQLOBJ$PLAN_DATAPUMP" 0 KB 0 rows
. . exported "SYS"."SQLOBJ$_DATAPUMP" 0 KB 0 rows
. . exported "SYSTEM"."SCHEDULER_JOB_ARGS" 0 KB 0 rows
. . exported "SYSTEM"."SCHEDULER_PROGRAM_ARGS" 9.515 KB 12 rows
. . exported "WMSYS"."WM$EXP_MAP" 7.718 KB 3 rows
. . exported "WMSYS"."WM$METADATA_MAP" 0 KB 0 rows
. . exported "RAHUL"."EMPLOYEE" 688.6 KB 100000 rows
Master table "SYSTEM"."SYS_EXPORT_FULL_01" successfully loaded/unloaded
******************************************************************************
Dump file set for SYSTEM.SYS_EXPORT_FULL_01 is:
/home/oracle/orclfull.dmp
Job "SYSTEM"."SYS_EXPORT_FULL_01" successfully completed at Sun Jan 31 22:19:02 2021 elapsed 0 00:02:03

Step:9 create a fresh database for import.(the dumpfile that is being exported in tanstal db going to be imported in zhigoma) 

Step:10 Now create a directory in both OS level and database level for import purpose in the newly created database.

mkdir /u01/export 

create directory export as '/u01/export';

Step:11 import the roles and privileges to zhigoma db.

[oracle@orcldbs ~]$ impdp directory=export dumpfile=orclfull.dmp logfile=roles.log full=Y INCLUDE=USER,ROLE,ROLE_GRANT,PROFILE

Step:12 Now it’s time to import our database.(ZHIGOMA)

[oracle@orcldbs ~]$ impdp system/oracle@zhigoma directory=export dumpfile=orclfull.dmp logfile=export.log full=Yes;

Import: Release 19.0.0.0.0 - Production on Mon Feb 1 01:21:26 2021
Version 19.3.0.0.0

Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights reserved.

Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Master table "SYSTEM"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
Starting "SYSTEM"."SYS_IMPORT_FULL_01": system/********@zhigoma directory=export dumpfile=orclfull.dmp logfile=export.log full=Yes 
Processing object type DATABASE_EXPORT/PRE_SYSTEM_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/PRE_INSTANCE_IMPCALLOUT/MARKER


Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/TABLE_DATA
. . imported "SYSTEM"."REDO_DB_TMP" 25.59 KB 1 rows
. . imported "WMSYS"."E$WORKSPACES_TABLE$" 12.10 KB 1 rows
. . imported "WMSYS"."E$HINT_TABLE$" 9.984 KB 97 rows
. . imported "WMSYS"."E$WORKSPACE_PRIV_TABLE$" 7.078 KB 11 rows
. . imported "SYS"."AMGT$DP$DAM_CONFIG_PARAM$" 6.531 KB 14 rows
. . imported "SYS"."DP$TSDP_SUBPOL$" 6.328 KB 1 rows
. . imported "WMSYS"."E$NEXTVER_TABLE$" 6.375 KB 1 rows
. . imported "WMSYS"."E$ENV_VARS$" 6.015 KB 3 rows
. . imported "SYS"."DP$TSDP_PARAMETER$" 5.953 KB 1 rows
. . imported "SYS"."DP$TSDP_POLICY$" 5.921 KB 1 rows
. . imported "WMSYS"."E$VERSION_HIERARCHY_TABLE$" 5.984 KB 1 rows
. . imported "WMSYS"."E$EVENTS_INFO$" 5.812 KB 12 rows
. . imported "LBACSYS"."OLS_DP$OLS$AUDIT" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$COMPARTMENTS" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$GROUPS" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$LAB" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$LEVELS" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$POL" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$POLS" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$POLT" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$PROFILE" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$PROG" 0 KB 0 rows
. . imported "LBACSYS"."OLS_DP$OLS$USER" 0 KB 0 rows
. . imported "SYS"."AMGT$DP$AUD$" 0 KB 0 rows
. . imported "SYS"."AMGT$DP$DAM_CLEANUP_EVENTS$" 0 KB 0 rows
. . imported "SYS"."AMGT$DP$DAM_CLEANUP_JOBS$" 0 KB 0 rows
. . imported "SYS"."DP$TSDP_ASSOCIATION$" 0 KB 0 rows
. . imported "SYS"."DP$TSDP_CONDITION$" 0 KB 0 rows
. . imported "SYS"."DP$TSDP_FEATURE_POLICY$" 0 KB 0 rows
. . imported "SYS"."DP$TSDP_PROTECTION$" 0 KB 0 rows
. . imported "SYS"."DP$TSDP_SENSITIVE_DATA$" 0 KB 0 rows
. . imported "SYS"."DP$TSDP_SENSITIVE_TYPE$" 0 KB 0 rows
. . imported "SYS"."DP$TSDP_SOURCE$" 0 KB 0 rows
. . imported "SYSTEM"."REDO_LOG_TMP" 0 KB 0 rows
. . imported "WMSYS"."E$BATCH_COMPRESSIBLE_TABLES$" 0 KB 0 rows
. . imported "WMSYS"."E$CONSTRAINTS_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$CONS_COLUMNS$" 0 KB 0 rows
. . imported "WMSYS"."E$LOCKROWS_INFO$" 0 KB 0 rows
. . imported "WMSYS"."E$MODIFIED_TABLES$" 0 KB 0 rows
. . imported "WMSYS"."E$MP_GRAPH_WORKSPACES_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$MP_PARENT_WORKSPACES_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$NESTED_COLUMNS_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$RESOLVE_WORKSPACES_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$RIC_LOCKING_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$RIC_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$RIC_TRIGGERS_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$UDTRIG_DISPATCH_PROCS$" 0 KB 0 rows
. . imported "WMSYS"."E$UDTRIG_INFO$" 0 KB 0 rows
. . imported "WMSYS"."E$VERSION_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$VT_ERRORS_TABLE$" 0 KB 0 rows
. . imported "WMSYS"."E$WORKSPACE_SAVEPOINTS_TABLE$" 0 KB 0 rows
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE
Processing object type DATABASE_EXPORT/NORMAL_OPTIONS/VIEWS_AS_TABLES/TABLE_DATA
. . imported "MDSYS"."RDF_PARAM$TBL" 6.515 KB 3 rows
. . imported "SYS"."AMGT$DP$AUDTAB$TBS$FOR_EXPORT" 5.953 KB 2 rows
. . imported "SYS"."DP$DBA_SENSITIVE_DATA" 0 KB 0 rows
. . imported "SYS"."DP$DBA_TSDP_POLICY_PROTECTION" 0 KB 0 rows
. . imported "SYS"."AMGT$DP$FGA_LOG$FOR_EXPORT" 0 KB 0 rows
. . imported "SYS"."NACL$_ACE_IMP" 0 KB 0 rows
. . imported "SYS"."NACL$_HOST_IMP" 6.976 KB 2 rows
. . imported "SYS"."NACL$_WALLET_IMP" 0 KB 0 rows
. . imported "SYS"."DATAPUMP$SQL$TEXT" 0 KB 0 rows
. . imported "SYS"."DATAPUMP$SQL$" 0 KB 0 rows
. . imported "SYS"."DATAPUMP$SQLOBJ$AUXDATA" 0 KB 0 rows
. . imported "SYS"."DATAPUMP$SQLOBJ$DATA" 0 KB 0 rows
. . imported "SYS"."DATAPUMP$SQLOBJ$PLAN" 0 KB 0 rows
. . imported "SYS"."DATAPUMP$SQLOBJ$" 0 KB 0 rows
. . imported "SYSTEM"."SCHEDULER_JOB_ARGS_TMP" 0 KB 0 rows
. . imported "SYSTEM"."SCHEDULER_PROGRAM_ARGS_TMP" 9.515 KB 12 rows
. . imported "WMSYS"."E$EXP_MAP" 7.718 KB 3 rows
. . imported "WMSYS"."E$METADATA_MAP" 0 KB 0 rows
Processing object type DATABASE_EXPORT/NORMAL_POST_INSTANCE_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
. . imported "RAHUL"."EMPLOYEE" 688.6 KB 100000 rows
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATISTICS
Processing object type DATABASE_EXPORT/STATISTICS/MARKER
Processing object type DATABASE_EXPORT/FINAL_POST_INSTANCE_IMPCALLOUT/MARKER
Processing object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
Processing object type DATABASE_EXPORT/AUDIT_UNIFIED/AUDIT_POLICY_ENABLE
Processing object type DATABASE_EXPORT/POST_SYSTEM_IMPCALLOUT/MARKER
Job "SYSTEM"."SYS_IMPORT_FULL_01" completed at Mon Feb 1 01:23:21 2021 elapsed 0 00:01:54

Once the import is over, you can also review the log file.

13.1 compile invalid objects in target database.

SQL> @?/rdbms/admin/utlrp.sql

SQL> select count(*) from dba_objects where status=’INVALID’;

COUNT(*)
-------- 0
SQL>  SELECT version FROM v$timezone_file;

  VERSION
-----------------
    32

13.3 Run the query to check for currently installed database components.

SQL> col COMP_ID for a10
col COMP_NAME for a40
col VERSION for a15
set lines 180
set pages 999
select COMP_ID,COMP_NAME,VERSION,STATUS from dba_registry;

13.4 Check the CONSTRAINTS count,it is used to display the constraints that are defined in the database.

SQL> SELECT constraint_type, count(*) AS num_constraints
FROM dba_constraints
GROUP BY constraint_type; 

C NUM_CONSTRAINTS

C 5784
F 12
O 181
R 327
P 864
V 11
U 250

7 rows selected.
SQL>

yes now we can login to the zhigoma database and we can verify our user(rahul) and the table(employee) in that user is  imported into this database or not.

We have successfully upgraded our database from 12 c to 19c using datapump !!!!