Exporting and Importing using Datapump
Exporting from lower version and Importing to Higher version of oracle. or Other words Application Schema Migration from one database (11.2.0.4) (SUSE o/s ) to linux o/s running 12.2.0.1 database Steps taken to fulfil the activity . Though it is the simplest task to perform but providing steps becomes handy . 1. Below Steps to be performed target database. a) CREATE TABLESPACE NEIGHBOURHOOD DATAFILE '/data/oragen1d/neighbourhood01.dbf' SIZE 4500M AUTOEXTEND ON NEXT 20M MAXSIZE 10000M LOGGING ONLINE EXTENT MANAGEMENT LOCAL AUTOALLOCATE BLOCKSIZE 8K SEGMENT SPACE MANAGEMENT AUTO FLASHBACK ON; b) CREATE USER NEIGHBOURHOOD IDENTIFIED BY nhood DEFAULT TABLESPACE NEIGHBOURHOOD TEMPORARY TABLESPACE TEMP PROFILE DEFAULT ACCOUNT UNLOCK; -- 1 Role for NEIGHBOURHOOD GRANT CONNECT TO NEIGHBOURHOOD; ALTER USER NEIGHBOURHOOD DEFAULT ROLE ALL; -- 6 System Privileges for NEIGHBOURHOOD GRANT CREATE INDEXTYPE TO NEIGHBOURHOOD; GRANT CREATE SEQUENCE TO NEIGHBOURHOOD; GRANT