https://ahmedbaraka.com/download/video-tutorials/Create%20an%20Oracle%20Physical%20Standby%20Database.pdf
Tuesday, 21 March 2023
Tuesday, 14 March 2023
Migration using Datapump
#### Migration using Datapump #####
https://oracledbwr.com/migrating-and-upgrade-oracle-database-windows-from-11-2-0-1-to-linux-database-12-2-0-1-using-datapump/
https://smarttechways.com/2022/01/23/steps-for-migration-with-expdp-and-impdp-datapump/
https://rajeevjhaoracle.wordpress.com/2015/12/25/step-by-step-database-refresh/
Migration Datapump/Schema refresh/Dry run
######Migration Datapump/Schema refresh/Dry run#####
http://oracledatabasetutorial.blogspot.com/2014/09/schema-refresh-in-oracle-using-datapump.html
http://www.br8dba.com/schema-refresh-from-11g-to-12c-pdb/
Friday, 10 March 2023
Migration using Datapump 11g to 19c
select obj.owner "Owner", obj_cnt "Objects", decode(seg_size, NULL, 0, seg_size) "size MB" from (select owner, count(*) obj_cnt from dba_objects group by owner) obj , (select owner, ceil(sum(bytes)/1024/1024) seg_size from dba_segments group by owner) seg where obj.owner = seg.owner(+) order by 3 desc ,2 desc, 1;
Migration using Datapump 12c to 19c
SELECT DBMS_METADATA.GET_DDL('TABLESPACE','&TABLESPACE_NAME') FROM dual; Thursday, 9 March 2023
12c to 19c upgrade by autoupgrade
Prerequisite
1) Download autoupgrade.jar file from MOS 2485457.1
mv /u01/app/oracle/product/19c/db_1/rdbms/admin/autoupgrade.jar autoupgrade.jar_old
cp -r autoupgrade.jar /u01/app/oracle/product/19c/db_1/rdbms/admin
$ /u01/app/oracle/product/19c/db_1/jdk/bin/java -jar /u01/app/oracle/product/19c/db_1/rdbms/admin/autoupgrade.jar -version
$ /u01/app/oracle/product/19c/db_1/jdk/bin/java -version
For an upgrade, the java version should be 1.8 which is available in “ORACLE_HOME/jdk/bin” so make sure match to the minimum required version of java.
cd /u01/autoupgrade_19c
$ /u01/app/oracle/product/19c/db_1/jdk/bin/java -jar /u01/app/oracle/product/19c/db_1/rdbms/admin/autoupgrade.jar -create_sample_file config
$ cp sample_config.cfg prod_db_config.cfg
$ > prod_db_config.cfg
$ vi prod_db_config.cfg
upg1.dbname=prod
Sunday, 5 March 2023
12c to 19c upgrade manual
Executing the pre-upgrade jar tool
The pre-upgrade information tool is available in the new release oracle home, in path
Upgrading the database
- sqlplus / as sysdba
- shutdown immediate;
- exit
- copy the spfile, password file and listener from old ORACLE_HOME to new 19c ORACLE_HOME.
- @$ORACLE_HOME/rdbms/admin/utlusts.sql TEXT
- Recompile the INVALID objects using utlrp.sql