Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 4

DIFFERENCE BETWEEN IMP AND IMPDP UTILITIES

############################################################################################

################################################################################

IMP UTILITY
################################################################################

[WILSHIRE@dba12 ~]$ time imp file=exp.dmp log=exp1.log full=y

Import: Release 11.2.0.1.0 - Production on Mon Jan 17 10:21:55 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

Username: / as sysdba

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 -


Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

Export file created by EXPORT:V11.02.00 via conventional path


import done in US7ASCII character set and AL16UTF16 NCHAR character set
. importing SYSTEM's objects into SYSTEM
IMP-00015: following statement failed because the object already exists:
"CREATE TABLESPACE "SYSAUX" BLOCKSIZE 8192 DATAFILE '/disk1/oradata/prod/sy"
"saux.dbf' SIZE 209715200 AUTOEXTEND ON NEXT 8192 MAXSIZE 32767M EXTE"
"NT MANAGEMENT LOCAL AUTOALLOCATE ONLINE PERMANENT SEGMENT SPACE MANAGEME"
"NT AUTO"
IMP-00015: following statement failed because the object already exists:
"CREATE TABLE "OL$NODES" ("OL_NAME" VARCHAR2(30), "CATEGORY" VARCHAR2(30), ""
"NODE_ID" NUMBER, "PARENT_ID" NUMBER, "NODE_TYPE" NUMBER, "NODE_TEXTLEN" NUM"
"BER, "NODE_TEXTOFF" NUMBER, "NODE_NAME" VARCHAR2(64)) PCTFREE 10 PCTUSED 4"
"0 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 16384 NEXT 16384 MINEXTENTS 1 MAX"
"EXTENTS 505 PCTINCREASE 50 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAUL"
"T) LOGGING NOCOMPRESS"
. importing SCOTT's objects into SCOTT
. . importing table "DEPT" 4 rows imported
. . importing table "DUMMY" 1 rows imported
. . importing table "EMP" 91750400 rows imported
. . importing table "EMP1" 458752 rows imported
. . importing table "SALGRADE" 5 rows imported
. importing U1's objects into U1
. . importing table "DEPT" 4 rows imported
. . importing table "DUMMY" 1 rows imported
. . importing table "EMP" 53127054 rows imported
. . importing table "SALGRADE" 5 rows imported
. importing PHANI's objects into PHANI
. . importing table "DEPT" 4 rows imported
. . importing table "DUMMY" 1 rows imported
. . importing table "EMP" 14 rows imported
. . importing table "SALGRADE" 5 rows imported
. importing TTS's objects into TTS
. . importing table "DEPT" 4 rows imported
. . importing table "DUMMY" 1 rows imported
. . importing table "EMP" 14 rows imported
. . importing table "SALGRADE" 5 rows imported
. importing U2's objects into U2
. . importing table "EMP" 91750400 rows imported
. . importing table "T" 1 rows imported
. importing U3's objects into U3
. . importing table "EMP" 91750400 rows imported
. importing TS_16K's objects into TS_16K
. . importing table "EMP" 53127054 rows imported
"CREATE PUBLIC SYNONYM "OLAP_TEXT_SRF" FOR "SYS"."OLAP_TEXT_SRF""
IMP-00015: following statement failed because the object already exists:
"CREATE PUBLIC SYNONYM "OLAP_EXPRESSION_TEXT" FOR "SYS"."OLAP_EXPRESSION_TEX"
"T""
IMP-00015: following statement failed because the object already exists:
. importing OUTLN's objects into OUTLN
. importing SYSTEM's objects into SYSTEM
. importing SYS's objects into SYS
. importing SYSTEM's objects into SYSTEM
. importing SYS's objects into SYS
. importing SYSTEM's objects into SYSTEM
. importing U1's objects into U1
. importing PHANI's objects into PHANI
. importing TTS's objects into TTS
. importing U2's objects into U2
Import terminated successfully with warnings.

##################################################
# TIME ELAPSED : 327m24s #
##################################################
################################################################################

IMPDP UTILITY
################################################################################

[WILSHIRE@dba15 dpump]$ time impdp directory=dpump dumpfile=full.dmp


logfile=full1.log full=y

Import: Release 11.2.0.1.0 - Production on Tue Jan 18 12:49:16 2011

Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

Username: / as sysdba
Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 -
Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Master table "SYS"."SYS_IMPORT_FULL_02" successfully loaded/unloaded
Starting "SYS"."SYS_IMPORT_FULL_02": /******** AS SYSDBA directory=dpump
dumpfile=full.dmp logfile=full1.log full=y
Processing object type DATABASE_EXPORT/TABLESPACE
ORA-31684: Object type TABLESPACE:"SYSAUX" already exists
ORA-31684: Object type TABLESPACE:"UNDOTBS" already exists
ORA-31684: Object type TABLESPACE:"TEMP" already exists
ORA-31684: Object type TABLESPACE:"USERDATA" already exists
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/PRE_TABLE_ACTION
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TABLE_DATA
. . imported "U1"."EMP" 2.154 GB 53127054 rows
. . imported "U2"."EMP" 3.721 GB 91750400 rows
. . imported "U3"."EMP" 3.721 GB 91750400 rows
. . imported "SCOTT"."EMP" 3.721 GB 91750400 rows
. . imported "TS_16K"."EMP" 2.154 GB 53127053 rows
. . imported "SCOTT"."EMP1" 18.16 MB 458752 rows
. . imported "PHANI"."DEPT" 5.929 KB 4 rows
. . imported "PHANI"."DUMMY" 5.007 KB 1 rows
. . imported "PHANI"."EMP" 8.562 KB 14 rows
. . imported "PHANI"."SALGRADE" 5.867 KB 5 rows
. . imported "SCOTT"."DEPT" 5.929 KB 4 rows
. . imported "SCOTT"."DUMMY" 5.007 KB 1 rows
. . imported "SCOTT"."SALGRADE" 5.867 KB 5 rows
. . imported "TTS"."DEPT" 5.929 KB 4 rows
. . imported "TTS"."DUMMY" 5.007 KB 1 rows
. . imported "TTS"."EMP" 8.562 KB 14 rows
. . imported "TTS"."SALGRADE" 5.859 KB 5 rows
. . imported "U1"."DEPT" 5.929 KB 4 rows
. . imported "U1"."DUMMY" 5.007 KB 1 rows
. . imported "U1"."SALGRADE" 5.859 KB 5 rows
. . imported "U2"."T" 5.398 KB 1 rows
. . imported "PHANI"."BONUS" 0 KB 0 rows
. . imported "SCOTT"."BONUS" 0 KB 0 rows
. . imported "TTS"."BONUS" 0 KB 0 rows
. . imported "U1"."BONUS" 0 KB 0 rows
Processing object type
DATABASE_EXPORT/SCHEMA/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/INDEX/INDEX
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/CONSTRAINT/CONSTRAINT
Processing object type
DATABASE_EXPORT/SCHEMA/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
Processing object type DATABASE_EXPORT/SCHEMA/TABLE/TRIGGER
Processing object type DATABASE_EXPORT/SCHEMA/POST_SCHEMA/PROCACT_SCHEMA
Processing object type DATABASE_EXPORT/AUDIT
Job "SYS"."SYS_IMPORT_FULL_02" completed with 141 error(s) at 16:08:01

##################################################
# TIME ELAPSED : 22m3s #
##################################################
OBSERVATION : TIME TAKEN FOR BACKUP DATABASE
USING EXP AND EXPDP UTILITIES

IMP UTILITY : 327m 24s (5hr 27m)

IMPDP UTILITY : 22m 03s

DIFFERENCE : 305m 21S (5hr 5m)

TIP : IMPDP UTILITY IS MORE FASTER THAN IMP


UTILITY.

You might also like