Documente Academic
Documente Profesional
Documente Cultură
X)
SHELL
DATABASE:OESH200T Author: Creation Date: Last Updated: Control Number: Version: Sandeep Gummadi Sep 12 2012 Sep 12 2012 <Document Control Number> 1
Approvals:
Document Control
Change Record
Date
1-May-07
Author
Oracle ssi
Version
1
Change Reference
Reviewers
Name Position
Distribution
Copy No.
1 2 3 4
Name
Location
# 1. 2. 3. 4.
Step Source server Information Target Server (Exadata) Information Contact details Current output of source server
6. 7.
$ cd $ORACLE_HOME/rdbms/admin $ sqlplus "/ as sysdba" SQL> @utlrp.sql $ sqlplus "/as sysdba" SQL> EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;
8.
select * from dba_2pc_pending; SELECT * FROM v$recover_file; SELECT * FROM v$backup WHERE status != 'NOT ACTIVE'; select vs.sid, vp.program PROCESSNAME, vp.spid THREADID from v$session vs, v$process vp , dba_datapump_sessions dp where vp.addr = vs.paddr(+) and vs.saddr = dp.saddr; If this returns any sids please put in below sql x -sid select sid,event,p1,p2,p3, seconds_in_wait from v$session_wait where sid in ( x, x); Sqlplus system/xxx CREATE DIRECTORY OMF<SID> AS 'xxxxx GRANT EXP_FULL_DATABASE to SYSTEM
9.
10.
11. 12.
13.
Checking whether Directory and privileges exists for expdp ulimit -a Check O/S level file size (blocks, -f) unlimited directory limitations if file size has limitations please ask unix admin to change it Check for EXP_FULL_DAT ABASE role Always perform Please make sure use SYSTEM when expdp user/passwd is used full database export as user system. Create table space Full database export/import creates the tablespaces in same format script for target empty database
Generate_Create_Ta blespaces.sql
14.
Parameters that can be use and need to discuss Expdp command on source database Please check log file for any errors Copy the .dmp file in BINARY mode
STEPS TO BE PERFROMED ON TARGET SYSTEM 18. 19. 20. 21. 22. 23. 24.
25. 26.