Professional Documents
Culture Documents
Oracle DATAPUMP Interview Questions
Oracle DATAPUMP Interview Questions
Oracle DATAPUMP Interview Questions
8. What are the differences between expdp and exp (Data Pump or normal
exp/imp)?
Data Pump is server centric (files will be at server).
Data Pump has APIs, from procedures we can run Data Pump jobs.
In Data Pump, we can stop and restart the jobs.
Data Pump will do parallel execution.
Tapes & pipes are not supported in Data Pump.
Data Pump consumes more undo tablespace.
Data Pump import will create the user, if user doesnt exist.
9. Why expdp is faster than exp (or) why Data Pump is faster than conventional
export/import?
Data Pump is block mode, exp is byte mode.
Data Pump will do parallel execution.
Data Pump uses direct path API.
10. How to improve expdp performance?
Using parallel option which increases worker threads. This should be set based on the
number of cpus.
11. How to improve impdp performance?
Using parallel option which increases worker threads. This should be set based on the
number of cpus.
12. In Data Pump, where the jobs info will be stored (or) if you restart a job in
Data Pump, how it will know from where to resume?
Whenever Data Pump export or import is running, Oracle will create a table with the
JOB_NAME and will be deleted once the job is done. From this table, Oracle will find out how
much job has completed and from where to continue etc.
Default export job name will be SYS_EXPORT_XXXX_01, where XXXX can be FULL or
SCHEMA or TABLE.
Default import job name will be SYS_IMPORT_XXXX_01, where XXXX can be FULL or
SCHEMA or TABLE.
13. What is the order of importing objects in impdp?
Tablespaces
Users
Roles
Database links
Sequences
Directories
Synonyms
Types
Tables/Partitions
Views
Comments
Packages/Procedures/Functions
Materialized views
14. How to import only metadata?
CONTENT= METADATA_ONLY
15. How to import into different user/tablespace/datafile/table?
REMAP_SCHEMA
REMAP_TABLESPACE
REMAP_DATAFILE
REMAP_TABLE
REMAP_DATA
16. How to export/import without using external directory?
17. Using Data Pump, how to export in higher version (11g) and import into lower
version (10g), can we import to 9i?
18. Using normal exp/imp, how to export in higher version (11g) and import into
lower version (10g/9i)?
19. How to do transport tablespaces (and across platforms) using exp/imp or
expdp/impdp?