Subscribe to Posts by Email

Subscriber Count

    696

Disclaimer

All information is offered in good faith and in the hope that it may be of use for educational purpose and for Database community purpose, but is not guaranteed to be correct, up to date or suitable for any particular purpose. db.geeksinsight.com accepts no liability in respect of this information or its use. This site is independent of and does not represent Oracle Corporation in any way. Oracle does not officially sponsor, approve, or endorse this site or its content and if notify any such I am happy to remove. Product and company names mentioned in this website may be the trademarks of their respective owners and published here for informational purpose only. This is my personal blog. The views expressed on these pages are mine and learnt from other blogs and bloggers and to enhance and support the DBA community and this web blog does not represent the thoughts, intentions, plans or strategies of my current employer nor the Oracle and its affiliates or any other companies. And this website does not offer or take profit for providing these content and this is purely non-profit and for educational purpose only. If you see any issues with Content and copy write issues, I am happy to remove if you notify me. Contact Geek DBA Team, via geeksinsights@gmail.com

Pages

How to know the export dump belongs to normal export and datapump file

Hello,

Thanks to my colleague (Naga) for this information, We have got a question from another friend on how to find the export dump file whether its belongs to export (exp) or datapump export(expdp).

The question is "I am planning to import the dump to a new database but I am confused by seeing the dumpfile Whether it belong to "exp/expdp" "

If export is executed with exp command then how to find the the file which is executed with exp command

Well you can use the unix strings command to read the dump file

$ strings | more

you'll find some differences... for example a traditional export file could start like this

[oracle]$ strings one.dmp | more
EXPORT:V10.02.01
DDBABATCH
RENTIRE
1024

If export is executed with expdp command then how to find the the file is executed with expdp command

expdp filename=one.dmp owner=scott
exp file : expdp DUMPFILE=one.dmp DIRECTORY=dmpdir SCHEMAS=scott
[oracle]$ strings one.dmp | more
!(~* ---> expdp
"DBABATCH"."SYS_EXPORT_FULL_01"
SVR4-be-64bit-8.1.0
AL32UTF8

Hope this helps
-Naga

5 comments to How to know the export dump belongs to normal export and datapump file

  • vijay

    Hi,

    If the expdp string is in first few lines of the dump,then the simple command using strings and more may not create confusion for us.
    If the expdp string is far away,may be will grep for it’s occurance ,like:
    strings two.dmp | grep -i expdp

    • Yes, but for expdp it wont show the expdp, instead a binary(junk) characters will show, hence we cannot grep.

      Carefully look at output above for two dumps. One show junk (I have marked —> expdp for your good read, that is not the exact output)

      -Thanks

  • seshu

    Hi Geek DBA,

    Thank you for this artical, could you please post artical on ORA-7445 error.

    Thanks

    • Hello Seshu,

      ORA-7445 is generic error, but the first argument with this letter matters when it comes to troubleshooting.

      In general, ora-7445 and ora-600 errors are internal errors related to specific internal issue and each of the component represents the first argument or related issue.

      Quick search in master note for ora-7445 ora-600 will give you many notes inside it.

      -Thanks
      Geek DBA

  • harsha

    How to recognise in windows environment??