Compare the Difference Between Similar Terms

Difference Between

Home / Technology / IT / Database /甲骨文出口(exp)和Datapum之间的区别p (expdp)

甲骨文出口(exp)和Datapum之间的区别p (expdp)

November 25, 2011Posted byVishwa

ORACLE Export (exp) vs Datapump (expdp)

ORACLE provides two external utilities to transfer database objects from one database to another database. Traditional exports (exp /imp) are introduced before 10g. Then from 10g, ORACLE introduced datapump (expdp / impdp) as an enhancement to traditional export utility.

Traditional Export (exp/ imp)

This is an ORACLE database external utility, which is used to transfer database objects from one database server to another database server. It allows transferring the database objects over different platforms, different hardware and software configurations. When an export command is executed on a database, database objects are extracted with their dependency objects. That means if it extracts a table, the dependences like indexes, comments, and grants are extracted and written into an export file (binary format dump file). Following is the command to export a full database,

Cmd > exp userid=username/[email protected]_tns file=export.dmp log=export.log full=y statistics=none

The above command will be exported the database to a binary dump file named export.dmp. Then imp utility can be used to import this data to another database. Following is the command to import,

Cmd > imp userid=username/[email protected]_tns file=export.dmp log=import.log full=y statistics=none

Datapump Export (expdp/ impdp)

This is also an ORACLE database external utility, which is used to transfer objects between databases. This utility is coming from ORACLE 10g database. It has more enhancements than the traditional exp/ imp utilities. This utility also makes dump files, which are in binary formats with database objects, object metadata and their control information. The expdp and impdp commands can be executed in three ways,

  1. Command line interface (specify expdp/impdp parameters in command line)
  2. Parameter file interface (specify expdp/impdp parameters in a separate file)
  3. Interactive-command interface (entering various commands inexportprompt)

There are five different modes of data unloading using expdp. They are,

  1. Full Export Mode (entire database is unloaded)
  2. Schema Mode (this is the default mode, specific schemas are unloaded)
  3. Table Mode (specified set of tables and their dependent objects are unloaded)
  4. Tablespace Mode (the tables in the specified tablespace are unloaded)
  5. Transportable Tablespace Mode (only the metadata for the tables and their dependent objects within a specified set of tablespaces are unloaded)

Following is the way to export a full database using expdp,

Cmd > expdp userid =用户名/密码dumpfile=expdp_export.dmp logfile=expdp_export.log full=y directory=export

Then impdp utility should be used to import this file to another database.

What is the difference betweenTraditional Export and Datapump?

• Datapump operates on a group of files called dump file sets. However, normal export operates on a single file.

• Datapump access files in the server (using ORACLE directories). Traditional export can access files in client and server both (not using ORACLE directories).

• Exports (exp/imp) represent database metadata information as DDLs in the dump file, but in datapump, it represents in XML document format.

• Datapump has parallel execution but in exp/imp single stream execution.

• Datapump does not support sequential media like tapes, but traditional export supports.

Related posts:

Difference Between SQL Server 2008 and Express Difference Between DBMS and Data Warehouse Difference Between Stack and Heap Difference Between Schema and Table Difference Between ORACLE Dataguard and Real Application Cluster (RAC)

Filed Under:DatabaseTagged With:database external utility,datapump,Datapump Export (expdp/ impdp),datapump impdp,exp,expdp,export,export backup,oracle datapump,Oracle Datapump (expdp),oracle datapump impdp,oracle exp,oracle expdp,甲骨文公司出口,Oracle Export (exp),Traditional Export (exp/ imp)

About the Author:Vishwa

Leave a ReplyCancel reply

Your email address will not be published.Required fields are marked*

Request Article

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and SARS

Difference Between Coronavirus and SARS

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

You May Like

Difference Between Collateral and Bicollateral Vascular Bundles

Difference Between Collateral and Bicollateral Vascular Bundles

Difference Between Class Consciousness and False Consciousness

Difference Between Class Consciousness and False Consciousness

Difference Between Kickboxing and Boxing

Difference Between Quiche and Frittata

Difference Between Motorola Droid Maxx and Droid Ultra

Latest Posts

  • What is the Difference Between MCT and LCT
  • What is the Difference Between Loungewear and Nightwear
  • What is the Difference Between BHA and BHT
  • What is the Difference Between Amyloidosis and Multiple Myeloma
  • What is the Difference Between Myristic and Stearic Acid
  • What is the Difference Between Vitamin E and Collagen
  • Home
  • Vacancies
  • About
  • Request Article
  • Contact Us

Copyright © 2010-2018Difference Between. All rights reserved.Terms of Useand Privacy Policy:Legal.