How to repair corrupted Oracle export file (.dmp)? - oracle

I need to restore Oracle database from export file (.dmp) generated by EXP tool, but the file looks to be corrupted. Does anybody know a tool or solution to repair it?

For some reason the most helpful answer was deleted. Someone has suggested to use data recovery service for Oracle dump files provided by Intelligent Converters and so I did. Indeed, they were able to repair my dump file. Our estimation is more than 95% of the data has been recovered. I hope this information will be useful for database people having similar problem.

Related

PDI Kettle Change Ojdbc file

Im working at a new development plattform with PDI installed on it.
The plattform remains stable, but Im struggling with a problem since the moment we started to work on it and is related with the PDI behavour on some Oracle SQL queries. The problem is documented here: https://forums.pentaho.com/threads/53201-KETTLE-and-Oracle-s-NLS_DATE_FORMAT/
The subject of my question is:
I need to change the odbc jar file on /lib folder of PDI folders (change odbc10.jar to odbc6.jar) and I dont know how to do it. It can't be as simple as delete the wrong file and put the new one. I suppose that somewhere on PDI configuration there must be a setting pointing to the wrong odbc10.jar and I must set it with the name of the new driver that PDI must use (odbc6.jar). I'm not sure if this setting is neccesary or not. As I'm not admin on this server, I can´t on my own, change the file and test it, I need to open a IT Ticket and ask for the right department to do it and I dont wan't anyone loose their time with wrong instructions.
I hope you could explain me how to change this driver please.
Please..could any of you guys explain how to do it?
Yes, it's as simple as that. If you don't feel confident, instead of deleting the odbc10.jar change the name to odbc10.jar_old or something like that, so PDI doesn't pick this other version of the odbc jar file, so you have a backup of the file quickly available.

Unable to import dump file into oracle by SQL Developer in windows

I encountered the ORA-31640 exception, unable to open dump file "C:\DATA_DUMP_DIR/20191103.DMP" for read. I think it's about the backslash issue which is on windows. Could you give some suggestion to solve this?
And I have created directory in the oracle.
Could you give some suggestions? thanks
Make sure the file is actually there and that the oracle OS user has read/write privileges on it. Also, please check filename's spelling.

How to load flat file into Oracle database

I am trying to import data from a csv file to an Oracle database, I am using Visual Studio 2017 I have downloaded all required components such as SSDT 15.8; and Attunity version 5.0
I was wondering if someone could please guide me on how I can load the flat file from csv to an Oracle table.
So far, I dragged and dropped the flat file and connected it to an Oracle Destination, however, even after mapping, as you can see, the red cross in Oracle Destination is still there
And when I tried to "Start" the process, this is the error message I got:
If somebody could please help me, that would be great. Below is a screenshot of the mapping i did:
thank you
Thank you for our help everyone, I resolved it by ensuring that the datatype in source matches the datatype in destination. Also, a major thing to consider is to ensure that the user you are logged in as has permission to write to the database, the user I was logged as did not have permission which is why I was getting that error

Will I lose my databases after re installation of pgAdmin?

I was facing an error in starting my pgAdmin which is
and when I deleted few unwanted file and uninstall some programs to improve system performance. Now I'm getting another error in starting my pgAdmin which is
I don't know perhaps I mistakenly deleted a necessary .dll file.
So how will I fix this problem?
Is there some way of fixing so that I will not lose my databases?
pgAdmin merely accesses existing databases, and is not the database itself. Therefore, removing/replacing/updating pgAdmin will have no affect on the underlying database.
pgAdmin can delete your database, etc, but you'd have to actually execute delete commands in order to do that.

Is there an easy way to backup Oracle SQL Developer's User Snippets?

I love Oracle SQL Developer so I find myself using it a lot to complete my daily tasks. The thing is that my collection of custom snippets only keeps growing so I though it'd be interesting to learn how to backup them.
Before asking blindly I did a bit of work trying to figure out how. I've performed a search within the application's folder by "snippet" and found the following file:
oracle.sqldeveloper.snippet.jar
which quite probably contains my beloved pieces of code. I could just save that file hoping the best, but why not doing it the right way and perhaps being able to, say, only backup the ones and I've created, avoiding the ones that came out-of-the-box, et cétera?
Any suggestion would be really appreciated!
On my WinXP machine, I found my User Snippets at:
C:\Documents and Settings\eddie\Application Data\SQL Developer\UserSnippets.xml
PS: Replace eddie with your username.
Agreeing with Eddie Awad, just copy the xml file. And for windows7 the sqldeveloper User-Snippets file can be found here:
C:\Users[username]\AppData\Roaming\SQL Developer\UserSnippets.xml
If you use SQL Developer on Mac OS X, then the snippets can be found in ~/Library/Application Support/SQL Developer/UserSnippets.xml
Are you running on Windows? Check your "C:\Documents and Settings\\Application Data\SQL Developer" directory for a UserSnippets.xml file, it contains all user defined snippets.
Also, check the online help for "Location of User-Related Information" topic. It has location of files that hold other user defined info.
-Dave
Why not create a package on the Oracle server for daily maintenance that way it's stored with your DB and in your DB backups?
EDIT: I do this and find it even easier to use them later on when performing routine maintenance tasks. Being able to call a packaged procedure is really, REALLY handy sometimes.
Agreeing with Spyder -
C:\Users\[username]\AppData\Roaming\SQL Developer\UserSnippets.xml
is the place. But I only found this after creating my first new Snippet.
After that, I was able to edit the xml to add new snippets and new categories. Once a change is made to the xml, SQLDev has to be relaunched. (And since it's an xml, I'm going to see if I can save it to Git to share amongst my team when I get a minute...)
For SQL Developer 3.2.20.09 on OS X Mountain Lion (10.8.*), the snippet file is located in ~/.sqldeveloper/UserSnippets.xml.
On OS-X Yosemite (10.10.5) I found the current UserSnippets.xml for the current SQL Developer ( Version 4.1.0.19 ) also in
~/.sqldeveloper/UserSnippets.xml

Resources