RE: Export import problem

From: John Hallas <John.Hallas_at_morrisonsplc.co.uk>
Date: Sat, 13 Dec 2008 16:28:15 +0000
Message-ID: <A92AF970568F9A4BAB18E10F9C64ED604D4CB0E335@EXCH2.morrisonsplc.co.uk>


Not sure of what your export parameters are but a better option is to count objects after the import rather than size

select count(*), object_type from dba_objects where owner='PSI' group by object_type;

select count(*), object_type from dba_objects where owner='PSI_DUP' group by object_type; (or use owner in)

For the export check the estimate option for expdp which tells you how big the export file is likely to be

A expdp command for a copy schema might be

nohup expdp system/password schemas=PSI flashback_scn=96209618 directory=EXPORTS dumpfile= PSI_EXPDAT_131208.DMP logfile= PSI_EXPDP_131208.LOG estimate=blocks &

copy the dmp file to the IMPORT directory if it is different from EXPORT

nohup impdp system/password schemas=PSI remap_schemas=PSI_DUP directory=IMPORT dumpfile=PSI_EXPDAT_131208.DMP logfile=PSIDUP_IMPDP_131208.LOG &

www.jhdba.wordpress.com



From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Shastry(DBA) Sent: 12 December 2008 18:54
To: oracle-l
Subject: Export import problem

Hi all,

I have one requirement, ie. to create a schema PSI_DUP same as PSI (existing). I did export the PSI schema first and later created PSI_DUP similar to PSI. Overall schema size is showing as 10GB where as When i do export import I am not getting the import successful with warnings. Could you please help me if any suggestions?



Wm Morrison Supermarkets Plc is registered in England with number 358949. The registered office of the company is situated at Gain Lane, Bradford, West Yorkshire BD3 7DL. This email and any attachments are intended for the addressee(s) only and may be confidential.

If you are not the intended recipient, please inform the sender by replying to the email that you have received in error and then destroy the email. If you are not the intended recipient, you must not use, disclose, copy or rely on the email or its attachments in any way.

Wm Morrison Supermarkets PLC accepts no liability or responsibility for anything said in the email or its attachments and gives no warranty as to accuracy. It is the policy of Wm Morrison Supermarkets PLC not to enter into any contractual or other obligations by email.

Although we have taken steps to ensure the email and its attachments are virus-free, we cannot guarantee this or accept any responsibility, and it is the responsibility of recipients to carry out their own virus checks.


--
http://www.freelists.org/webpage/oracle-l
Received on Sat Dec 13 2008 - 10:28:15 CST

Original text of this message