Sunteți pe pagina 1din 7

11.2.0.2 TO EXADATA (11.2.0.

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:

<Approver 1> <Approver 2>

Copy Number _____

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

CONVENTIONS Notation ORACLE_HOME ORACLE_BASE ORACLEUSER Meaning

STEPS TO PERFROMED ON SOURCE SYTEM

# 1. 2. 3. 4.

Step Source server Information Target Server (Exadata) Information Contact details Current output of source server

Details DATABASE NAME :OESH200T PLATFORM_NAME :Linux x86 64-bit

Comments Database Name: Time: R.name :

STEPS TO BE PERFORMED ON SOURCE 5. Check NLS_CHARACT HERSET on source


Datapump does not use the NLS_LANG to do conversion between databases. Conversion between 2 database charactersets is done purely based on the NLS_CHARACTERSET ( or NLS_NCHAR_CHARACTTERSET for Nchar,Nvarchar and Nclob datatypes) of the source and target database. On Source NLS_CHARACTERSET is WE8MSWIN1252 NLS_NCHAR_CHARACTERSET is AL16UTF16

6. 7.

Compile all invalids Collect system stats

$ cd $ORACLE_HOME/rdbms/admin $ sqlplus "/ as sysdba" SQL> @utlrp.sql $ sqlplus "/as sysdba" SQL> EXEC DBMS_STATS.GATHER_DICTIONARY_STATS;

8.

Checking for locks and pending transactions ,backups

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

If any thing on locks or dba_2pc_pending please contact oracle ssi

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

Make sure EXP_FULL_DATA BASE role granted

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

FLASHBACK_SCN PARALLEL PARFILE COMPRESSION

15. 16. 17.

expdp system/xxx full=y directory=<directory name > dumpfile=<dumpfilename(OMF<SID_FULL>.dmp logfile=<logfile_name>.log


Please send log files from step 15 to oracle ssi team

STEPS TO BE PERFROMED ON TARGET SYSTEM 18. 19. 20. 21. 22. 23. 24.

25. 26.

S-ar putea să vă placă și