oracle data pump export dump file to UAT environment - oracle

I am trying to learn data pump export and import of tables in oracle. I am asked to export from the device to UAT/sit environment. I have a doubt. I have been practicing this on my laptop with 2 pluggable databases. As it's on the same device, the directory object has no problem. what if I had to export it to the UAT environment? how would I use the impdp to import?
i am still a beginner in oracle.

Related

ORACLE DB exp with FULL=y option cannot export all user tables but expdp can

I am trying to use the exp tool to backup the whole DB.
The command is "exp userid=system/manager#test inctype=complete buffer=65535 file=/home/oracle/backup/exp_full.dmp log=/home/oracle/backup/exp_full.log full=y".
But from the exp log, it can only export some user tables, not all, even though those tables cannot exported indeed have content. Only these users can be exported from the log as below:
. about to export SYSTEM's tables via Conventional Path ...
. about to export OUTLN's tables via Conventional Path ...
. about to export ORDDATA's tables via Conventional Path ...
. about to export OLAPSYS's tables via Conventional Path ...
etc.
But when I try to use expdp with command expdp system/manager dumpfile=expdp_full.dmp logfile=expdp_full.log full=y, it can export all user tables successfully.
The ORACLE DB version is 11.2.0.1.0.
Appreciate for your help.
you need to specify which schema you want to export , by expdp user/password schema=abc dumpfile=abc.dmp logfile=abc.log directory=abcdirectory
Oracle Database Online Documentation Library, 11g Release 2 (11.2)
Original Export is desupported for general use as of Oracle Database
11g. The only supported use of original Export in Oracle Database 11g
is backward migration of XMLType data to Oracle Database 10g release 2
(10.2) or earlier. Therefore, Oracle recommends that you use the new
Data Pump Export and Import utilities, except in the following
situations which require original Export and Import: You want to
import files that were created using the original Export utility
(exp).
You want to export files that will be imported using the original
Import utility (imp). An example of this would be if you wanted to
export data from Oracle Database 10g and then import it into an
earlier database release.

Oracle data pump import job list

Once monthly we are doing full export of production database and import those data into develop environment. Version of Oracle database is 11.2.0.3 on RHEL 6.4 (64bit).
My question is can i get list of those completed import/export data pump jobs, by querying data dictionary view or by using some other way?
Thank you

how to import a .dmp file in oracle sql developer

How can i import a .dmp file in to sql developer. i had already created schema and i just need to insert data with these dump files. I tried imp and impdb commmands in sql command line but of no use.
You don't use SQL Developer to process data pump or legacy EXPORT dumps.
You CAN use SQL Developer to create a Data Pump job which will process your data pump export - this assumes the file is avail on a DB directory.
For a better answer, tell us exactly what kind of 'dmp' file you have.
If it's a Oracle Export dmp, the only way to import it is with the Import utility.

Export database dmp in sql developer

Is there any possible way to export the full database .dmp file in Oracle sql developer Version 4.0.2.15?
If not and should be done by this command:
expdp EMP/EMP#db10g full=Y directory=D:\home dumpfile=emp.dmp logfile=expdpemp.log
where to use this command? and what's "#db10g" in the command? where do i get it?
View > DBA
Add a connection - we assume you have fairly high privs
Go to the data pump node
Right-click, use the Export Wizard
It will guide you through the steps to create and run a job which will run data pump to do your export.
This reminds me I should probably do a blog post on Data Pump support in SQLDev...

Oracle data pump

I am using Oracle Export data pump (expdp) for my application . My oracle client and server are on different machines . When I use my application which is on the oracle client machine , the exported dump is always created on the Oracle server machine . Is this the oracle export data pump limitation ? Or Is there a workaround ?
thats the way datapump works by design.
If you need client side, you have to use the older exp and imp. otherwise use datapump and ftp the file to your local machine afterwards.
http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_overview.htm#i1010293
Note: All Data Pump Export and Import processing, including the
reading and writing of dump files, is done on the system (server)
selected by the specified database connect string. This means that for
unprivileged users, the database administrator (DBA) must create
directory objects for the Data Pump files that are read and written on
that server file system.

Resources