Showing posts with label DATAPUMP. Show all posts
Showing posts with label DATAPUMP. Show all posts

Tuesday, 19 January 2016

Views to monitor Datapump jobs

Oracle 10g provides two new views, DBA_DATAPUMP_JOBS and DBA_DATAPUMP_SESSIONS that allow the DBA to monitor the progress
of all DataPump operations.

But ofcourse there are other views as well:

SQL> select view_name from dba_views where view_name like '%PUMP%';

VIEW_NAME
DATAPUMP_PATHS
DATAPUMP_PATHMAP
DATAPUMP_TABLE_DATA
DATAPUMP_OBJECT_CONNECT
DATAPUMP_DDL_TRANSFORM_PARAMS
DATAPUMP_REMAP_OBJECTS
V_$DATAPUMP_JOB
V_$DATAPUMP_SESSION
GV_$DATAPUMP_JOB
GV_$DATAPUMP_SESSION
USER_DATAPUMP_JOBS
DBA_DATAPUMP_JOBS
DBA_DATAPUMP_SESSIONS
AQ$KUPC$DATAPUMP_QUETAB_S
AQ$_KUPC$DATAPUMP_QUETAB_F
AQ$KUPC$DATAPUMP_QUETAB
AQ$KUPC$DATAPUMP_QUETAB_R



Happy Learning..!!
Cheers..!!



Datapump

Oracle Data Pump is a newer, faster and more flexible alternative to the "exp" and "imp" utilities used   in previous Oracle versions. In addition to basic import and export functionality data pump provides a PL/SQL API and support for external tables.

Advantages of Datapump:

  1. Data Pump Export and Import operations are processed in the database as a Data Pump job, which is much more efficient that the client-side execution of original Export and Import. 
  2. Data Pump operations can take advantage of the server’s parallel processes to read or write multiple data streams simultaneously.
  3. Data Pump differs from original Export and Import in that all jobs run primarily on the server using server processes. These server processes access files for the Data Pump jobs using directory objects that identify the location of the files. The directory objects enforce a security model that can be used by DBAs to control access to these files.
  4. Datapump has a very powerful interactive command-line mode which allows the user to monitor and control Data Pump Export and Import operations
  5. Because Data Pump jobs run entirely on the server, you can start an export or import job, detach from it, and later reconnect to the job to monitor its progress.
  6. Data Pump gives you the ability to pass data between two databases over a network (via a database link), without creating a dump file on disk. 
  7. Datapump uses the Direct Path data access method (which permits the server to bypass SQL and go right to the data blocks on disk) has been rewritten to be much more efficient and now supports Data Pump Import and Export.
  8. Another amazing feature is that you can "PAUSE" and "RESUME" data pump jobs on demand.
How it differs from traditional exp & imp:
  1. Datapump operates on a group of files called dump file sets. However, normal export operates on a single file.
  2. Datapump access files in the server (using ORACLE directories). Traditional export can access files in client and server both.
  3. Exports (exp/imp) represent database metadata information as DDLs in the dump file, but in datapump, it represents in XML document format.
  4. Datapump has parallel execution but in exp/imp single stream execution.
  5. Datapump does not support sequential media like tapes, but traditional export supports.

Happy Learning..!!
Cheers..!!