Data Pump: a tool to backup and restore database

Oracle Data Pump evolution timeline from legacy exp/imp utility in 9i through modern Data Pump in Oracle 19c

Among various techniques of backing up your database Oracle provides data pump as one of tool which they are constantly improving and making this tool sharper release by release.

Data Pump was introduced in Oracle 10g as a replacement for exp/imp. This post covers the concepts that remain valid through Oracle 19c and 21c. For command-specific examples, see the companion posts linked below.

Since its first launch with 10g version, it has improved a lot not only in terms of its new features but in terms of performance as well.  With advent of 12c this tool has gone a long way.  With added features like “export view as table” or “print time stamp of activities in log file” this tool really become a insightful weapon for DBA.

Why Oracle Data Pump Replaced the Legacy exp/imp Utility

Oracle Data Pump fundamentally changed how DBAs approach logical backups — moving from the row-by-row processing of the old exp/imp utilities to a direct path, server-side architecture that made multi-terabyte operations practical.

One can access Data Pump utility using its interface expdp & impdp.   With these two powerful command used through operating system shell window a DBA can achieve its task of backup and restore at multiple levels:

  1. Full database level
  2. Schema level
  3. tablespace level
  4. table level
  5. Transportable tablespace level

With the use of Data pump we can achieve many things, few of them are:

  1. Copy or Move multi terabyte database on the another server with quickest possible time.  A detail content on this can be found in my blog
  2. Backup and restore one or more tables
  3. Backup and restore one or more tablespaces
  4. Backup and restore one or more schema
  5. Backup can also be taken in ASM storage
  6. Backup and restore is available with multiple file support
  7. Data Pump can also be utilized in Parallel mode however it is restricted to Enterprise Edition only as per licensing agreement
  8. Compress or change compression level of table.  this is available in various compression level i.e. from low to high CPU utilization

Although Data pump is a server based data movement utilities which is build on the top of, and to replace, existing import/export utility, yet it is far different than its predecessor.  At one hand is much much faster than the earlier one while on other hand it also provides much control to DBA.  This is because whenever a data pump utility kicked off, it creates a DB job and executes via this job.  this allows DBAs to monitor and control its execution.

9 thoughts on “Data Pump: a tool to backup and restore database

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.