[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

export schema

Posted on 2014-02-25
8
Medium Priority
?
316 Views
Last Modified: 2014-11-01
To export schema..
in the following version
what do you prefer to export

exp or expdp

Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
PL/SQL Release 10.2.0.4.0 - Production
CORE    10.2.0.4.0      Production
TNS for Solaris: Version 10.2.0.4.0 - Production
NLSRTL Version 10.2.0.4.0 - Production
0
Comment
Question by:thomasliju
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 23

Accepted Solution

by:
Steve Wales earned 1000 total points
ID: 39886179
expdp is Export Data Pump

exp is just export - which is the older version, included for backward compatibility.

Expdp is usually preferred - it's generally faster.

See the docs: http://docs.oracle.com/cd/E11882_01/server.112/e22490/dp_export.htm#SUTIL200
0
 
LVL 77

Assisted Solution

by:slightwv (䄆 Netminder)
slightwv (䄆 Netminder) earned 500 total points
ID: 39886191
I typically use the classic exp.  You can run this from a remote client and have the file saved on that remote client.

The datapump version places the file on the database server.
0
 
LVL 23

Assisted Solution

by:Steve Wales
Steve Wales earned 1000 total points
ID: 39886206
True - for data pump you do need to create a "directory" inside the instance so that Oracle can write to the server file system and grant permissions on that directory to the user who is doing the export.

Also, on the import side, impdp doesn't seem to handle referential integrity constraints very well - where as imp seems like it will load all the data and then enable constraints at the end.

However, impdp gives you great flexibility in remapping users and tablespaces on the import that imp does not.

I guess you need to find out what your requirements are and use what suits your individual requirements best.

I've found that Datapump is generally faster, but from time to time there are still databases I have where I use import / export.

As in many database related questions, there are not necessarily absolute answers.  The answer is often "it depends" :)
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
LVL 5

Assisted Solution

by:manzoor_dba
manzoor_dba earned 500 total points
ID: 39888211
I will prefer and we are using the expdp for schema / table / full export, which is fastest and convenient when compared to exp.
0
 

Author Comment

by:thomasliju
ID: 40383694
datapump worked.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 40384041
thomasliju,

Your closing comment mentioned datapump worked but you selected an answer that didn't suggest using it.

Please take the time to close your questions properly.  I will have a Moderator take a look at this question.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question