OracleDUMP file (.datp) issue - oracle

I received an Oracle 11g database for parsing, but the dump file is in .datp format. I have not found anywhere on the internet reference about this type of file linked to OracleDB Schemes. The client's instructions are "have to use Oracle to read it" but:
1- I have superficial knowledge in Oracle
2- this database will be migrated to MySQL
3- I have Oracle XE 11g installed but neither does it have any tools that open this file (at least not apparently).
Any light on how to open and import this database for Oracle or MySQL?

If it's a dump file then most likely it's an export from either the old EXP utility or the newer Datapump export (expdp).
The file extension is not standard but seems to point to DATaPump. If so you can import it into an Oracle database using Datapump import utility, impdp. Find out more.
If that doesn't work, try original imp instead. Find out more

Related

Oracle Database 19c Sample Schemas :: import sample from Oracle SQL Developer GUI instead of command line

I have a Microsoft background and I'm learning Oracle products.
I was able to import Oracle Database 19c Sample Schemas on a Docker Oracle image from command line following this guide.
I now would like to know if there is a way to import the same sample through a GUI using Oracle SQL Developer.
With SSMS is quite simple to import/export databases, row data, CSV, etc... but I don't see the same tool for Oracle SQL Developer.
EDIT:
#thatjeffsmith suggested to right click on tables > Data Import Wizard, but when I select "db-sample-schemas-master" I only find the samples with .sql files in it and .sql files cannot be imported with this tool
It depends.
The .SQL files can be ran through the SQL worksheet via F5 no problem.
The sqlldr scenarios, you could rename the .dat files to .dsv files.
Right click on your table, like Sales History SH entries, choose Import Data, and walk the wizard.
But, it would be much easier to just follow the instructions as is, especially if you are new to Oracle.

Import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set, but nothing happen?

I got no error when importing my XXX.DMP file using imp, but there is no database, schema, or table has imported and log file is empty too. Here what it's look :
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Import data only (yes/no): no >
Import file: EXPDAT.DMP > D:\xxx.dmp
Enter insert buffer size (minimum is 8192) 30720>
Export file created by EXPORT:V11.02.00 via conventional path
import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
C:\Users\User>
As you can see, it's just stop right there.
I using Oracle 11 and this file exported from Oracle 12. Then I changed the DMP file header from EXPORT:V12.01.00 to EXPORT:V11.02.00 manually because it won't work with the EXPORT:V12.01.00 before.
I've already try with impd or imported it with TOAD for Oracle, but neither is work.
I changed the DMP file header ... manually
Don't do that. From the documentation:
Any export dump file can be imported into a later release of the Oracle database.
The Import utility cannot read export dump files created by the Export utility of a later maintenance release or version. For example, a release 9.2 export dump file cannot be imported by a release 9.0.1 Import utility.
This isn't as simple as saying the version shown in the header is different. The binary format is proprietary and can (and presumably does) change all the time. Trying to manipulate the file is only going to cause you pain, and in your case is causing the import to abort very early on - which is probably a good thing; you could end up with corruption if it did manage to get any further.
The correct thing to do is to use the 11gR2 client to perform the export from the 12cR1 database as well.
The more correct thing to do is to use data pump tools (expdp and impdp) instead of the legacy import/export tools, with similar caveats.
If your 12c database is no longer available and you can't do a new export then you're a bit stuck. The only thing you can really do is create a new 12c database, use your existing dump file to populate that, and then do an export from that using the 11g tools. Painful, but safe.

Oracle DB Developer error on importing .dmp

Trying to open a .dmp I've been sent. I get the following errors from the Import Wizard on Oracle SQL Developer.
Any thoughts on what my problem might be? I have set full file/folder permissions on Linux and otherwise think I'm using standard boilerplate code...

How to open .dmp oracle backup file

I have a backup.dmp file, which is backup file of my database built in oracle. please suggest me how can I see tables, schema etc stored in that backup.dmp ? should I install some software to open this backup.dmp file.
Thank you in advance.
.dmp files have been generated by oracle tools (data pump or maybe export). To exploit this files, you need to install Oracle (try for exemple oracle 10g express) and then use the import(imp) or data pump (impdb)
You can view the dump file contents using Toad (must be fully licensed with the DBA extension), imp or impdp.
impdp scott/tiger#orcl directorory=dpump sqlfile-abc.sql dumpfile=xyz.dmp and logfile=xyz_log.log full=y
Or
imp scott/tiger#orcl file=abc.dmp show=y log=abc_log.log full=y
These commands will create viewable DDL of the actual DB creation.

Oracle 10g express edition import

How can i import a DMP file into my oracle 10g expression edition database?
I tried with imp but its showing an error:
IMP-00010: not a valid export file, header failed verification
IMP-00000: Import terminated unsuccessfully
How can i solve this?
Make sure the exp was done with a version of 10g that is lower or equal to the version of the oracle 10xe. If it was done with expdp instead of exp, you will not be able to import it using imp. You can not import a dump file into an older db an exp that was done with the exp of a newer version. I would suggest you find out what the exact version of the exp tool used and if it was exp vs expdp. If necessary use the exp tool from the 10xe and exp what your need remotely from the 10g enterprise db. Then you be ensure you can imp it.
I fear that there is no easy way to import this DMP file with that error message. Are you sure that the DMP file was exported with exp and that nobody has tampered with it aftwerwards. Maybe this is a shot in the dark but possibly you have transfered the DMP file with FTP and forgotten to turn on binary mode.
Oracle Utlities Guide states that The Import utility cannot read export dump files created by the Export utility of a later maintenance release or version. For example, a release 9.2 export dump file cannot be imported by a release 9.0.1 Import utility.
Now, I am not sure if oracle 10g enterprise edition is considered a later maintenance release compared to oracle 10g express. Anyway, I'd try to use the same exp and imp version, propably the one of oracle 10g express.

Resources