Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
eep	
  Dive:	
  More	
  Oracle	
  Data	
  Pump	
  
erformance	
  Tips	
  and	
  Tricks	
  
n	
  Gagne	
  
sulIng	
  Member	
  of	
  Technical	
  Staff	
  
base	
  UIliIes	
  
e	
  CorporaIon	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Roy	
  F.	
  Swonger	
  
Sr.	
  Director	
  &	
  Product	
  Manager	
  
Database	
  Upgrade	
  &	
  UIliIes	
  
Oracle	
  CorporaIon	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
e	
  Harbor	
  Statement	
  
following	
  is	
  intended	
  to	
  outline	
  our	
  general	
  product	
  direcIon.	
  It	
  is	
  intended	
  for	
  
rmaIon	
  purposes	
  only,	
  and	
  may	
  not	
  be	
  incorporated	
  into	
  any	
  contract.	
  It	
  is	
  not	
  a	
  
mmitment	
  to	
  deliver	
  any	
  material,	
  code,	
  or	
  funcIonality,	
  and	
  should	
  not	
  be	
  relied	
  u
making	
  purchasing	
  decisions.	
  The	
  development,	
  release,	
  and	
  Iming	
  of	
  any	
  features
cIonality	
  described	
  for	
  Oracle’s	
  products	
  remains	
  at	
  the	
  sole	
  discreIon	
  of	
  Oracle.	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
ore	
  Oracle	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
IntroducIon	
  
Recap:	
  Performance	
  Best	
  PracIce	
  
Important	
  Performance	
  Fixes	
  
Futures	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
ore	
  Oracle	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
IntroducIon	
  
Recap:	
  Performance	
  Best	
  PracIce	
  
Important	
  Performance	
  Fixes	
  
Futures	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
> whoami	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
16	
  years	
  w/Oracle	
  
Previously	
  with	
  DEC	
  OpenVMS	
  –	
  10	
  years	
  	
  
	
  
-­‐  Exp/imp	
  Jan	
  2000	
  
-­‐  Metadata	
  May	
  2001	
  
-­‐  Data	
  Pump	
  Mar	
  2002	
  
-­‐  Currently	
  responsible	
  for	
  
-­‐  Worker	
  process	
  –	
  Mar	
  2002	
  –	
  Day	
  1	
  
-­‐  Transportable	
  Tablespace	
  –	
  Apr	
  2005	
  
-­‐  MCP	
  process	
  –	
  May	
  2007	
  
-­‐  Export/Import	
  staIsIcs	
  –	
  Mar	
  2000	
  	
  
	
  
n	
  Gagne	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
> whoami	
  
years	
  w/Oracle	
  
eviously	
  with	
  DEC	
  Rdb	
  
+	
  years	
  managing	
  
ta	
  Pump	
  
tabase	
  Upgrade	
  
QL*Loader	
  
ansportable	
  Tablespaces	
  
Upgrade	
  and	
  Migrate	
  to	
  Oracle	
  12c	
  -­‐	
  Live	
  and	
  Uncensored
Swonger	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
roducIon:	
  Test	
  Hardware	
  
ystem:	
  Sun	
  Fire	
  X4170	
  M3	
  
PU	
  
Intel	
  x86-­‐64	
  
16	
  total	
  cores	
  x	
  2.9	
  Ghz	
  
Two-­‐way	
  hyperthreaded:	
  CPU_COUNT=32	
  
orage:	
  
4.7	
  TB	
  in	
  RAID	
  0	
  (striped	
  across	
  two	
  volumes)	
  
AM:	
  
256	
  GB	
  
S:	
  Oracle	
  Linux	
  6.4	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Good	
  amount	
  of	
  CPU	
  for	
  
parallel	
  processing	
  
Decent	
  Storage	
  Space	
  bu
limited	
  performance	
  wit
all	
  files	
  on	
  one	
  device	
  
Seems	
  like	
  a	
  lot	
  un>l	
  you	
  
try	
  running	
  4	
  databases	
  
with	
  lots	
  of	
  parallelism…	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
roducIon:	
  Test	
  Database	
  
racle	
  E-­‐Business	
  Suite	
  database	
  
Lots	
  of	
  metadata	
  
•  297	
  users	
  
•  4213	
  system	
  grants	
  
•  12455	
  sequences	
  
•  51064	
  synonyms	
  
•  4364	
  types	
  
•  33164	
  tables	
  
•  375,000+	
  object	
  grants	
  
•  53,196	
  indexes	
  
•  53,217	
  packages	
  
•  7082	
  triggers	
  
	
  
– Not	
  a	
  huge	
  amount	
  of	
  data…	
  
•  Started	
  with	
  ~50GB	
  of	
  data	
  
•  Built	
  larger	
  tables	
  for	
  some	
  cases,	
  up	
  to	
  
~500GB	
  
– …but	
  lots	
  of	
  metadata	
  
•  Heavy	
  stress	
  on	
  dicIonary	
  performance	
  
– Export	
  was	
  from	
  11.1.0.7	
  into	
  16	
  
dumpfiles	
  
•  Natural	
  limit	
  to	
  parallelism	
  based	
  on	
  #	
  of	
  fi
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
seline	
  Performance	
  
mport	
  into	
  11.2.0.3	
  
Connected	
  as	
  SYS	
  
Simple	
  Parfile:	
  
irectory=EBSIMP
umpfile=aexp%U.dmp
ogfile=full_4_11203.log
ULL=Y
XCLUDE=TABLESPACE
arallel=4
etrics=y
an	
  you	
  spot	
  any	
  problems?	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Import time:
7h 53m 52s
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
ore	
  Oracle	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
IntroducIon	
  
Recap:	
  Performance	
  Best	
  PracIce	
  
Important	
  Performance	
  Fixes	
  
Futures	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
ta	
  Pump	
  Best	
  PracIces	
  
ormance	
  Tips	
  
se	
  	
  PARALLEL=n
Typically	
  n	
  =	
  2x	
  <number	
  of	
  CPU	
  cores>	
  
XCLUDE=STATISTICS	
  on	
  export
nable	
  parallel	
  import	
  of	
  indexes:	
  apply	
  patch	
  for	
  bug	
  21539301	
  
Available	
  for	
  11.2.0.4	
  and	
  12.1.0.2	
  
ew	
  feature	
  in	
  12c:	
  TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y
Apply	
  patch	
  for	
  bug	
  20778442	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
eed	
  up	
  the	
  EsImate	
  Phase	
  
What	
  is	
  the	
  EsImate	
  
hase?	
  
STIMATE=BLOCKS vs	
  
STIMATE=STATISTICS
onclusion:	
  the	
  more	
  data	
  
ou	
  have,	
  the	
  bigger	
  the	
  
enefit	
  received	
  from	
  
STIMATE=STATISTICS
(But	
  make	
  sure	
  you	
  have	
  
accurate	
  staIsIcs!)	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
0	
  
20	
  
40	
  
60	
  
80	
  
100	
  
120	
  
140	
  
160	
  
180	
  
200	
  
0	
   50	
   100	
   150	
   200	
   250	
   300	
   350	
   400	
  
Es>mate	
  Phase	
  (seconds)	
  
Data	
  Size	
  (GB)	
  
Comparison	
  of	
  Es>mate	
  Phase	
  Methods	
  
Blo
Sta
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
clude	
  StaIsIcs	
  from	
  Export	
  
	
  it	
  faster	
  to	
  
EXCLUDE=STATISTICS and	
  build	
  them	
  awer	
  import,	
  or	
  
Export	
  and	
  import	
  staIsIcs?	
  
est	
  Results:	
  
expdp	
  of	
  staIsIcs:	
  19	
  minutes	
  
impdp	
  of	
  staIsIcs:	
  83	
  minutes	
  
exec dbms_stats.gather_database_stats():	
  82	
  minutes	
  
onclusion:	
  
EXCLUDE=STATISTICS saves	
  ~25%	
  of	
  total	
  Ime	
  (plus	
  150	
  MB	
  of	
  dumpfile	
  spa
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
e	
  Ime	
  and	
  disk	
  space	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
	
  NOT	
  Connect	
  as	
  SYS	
  or	
  SYSDBA	
  
We	
  do	
  not	
  export	
  SYS-­‐owned	
  objects	
  anyway,	
  so	
  SYS is	
  really	
  not	
  
ecessary	
  for	
  data	
  pump	
  operaIons	
  
onnecIng	
  as	
  SYS	
  (or	
  SYSDBA)	
  also	
  gives	
  worse	
  performance!	
  
Import	
  of	
  table	
  using	
  PARALLEL=8 from	
  8-­‐dumpfile	
  export…	
  	
  
Connected	
  as	
  schema	
  user	
  GL:	
  	
  
mported "GL"."GL_BALANCES” 13.82 GB 147526320 rows in 83 seconds	
  
Same	
  user	
  connected	
  as	
  SYSDBA:	
  
mported "GL"."GL_BALANCES” 13.82 GB 147526320 rows in 206 seconds
onclusion:	
  
Use	
  roles	
  and	
  privileges	
  (e.g.	
  DATAPUMP_IMP_FULL_DATABASE)	
  not	
  super	
  use
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
	
  roles	
  and	
  privileges	
  to	
  do	
  what	
  you	
  need	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
ore	
  Oracle	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
IntroducIon	
  
Recap:	
  Performance	
  Best	
  PracIce	
  
Important	
  Performance	
  Fixes	
  
Futures	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
portant	
  Performance	
  Fixes	
  
atch	
  for	
  bug	
  number	
  21539301	
  
Old	
  behavior:	
  build	
  one	
  index	
  at	
  a	
  Ime	
  with	
  PARALLEL	
  n	
  keyword	
  
New	
  behavior:	
  build	
  n	
  indexes	
  at	
  a	
  Ime,	
  each	
  without	
  parallelism	
  
est	
  results	
  for	
  53190	
  indexes	
  
12.1.0.2.0	
  without	
  patch:	
  
•  PARALLEL=4:	
  5681	
  seconds	
  (total	
  import	
  4:14:23)	
  
•  PARALLEL=8:	
  5504	
  seconds	
  (total	
  import	
  3:30:14)	
  
12.1.0.2.3	
  with	
  patch:	
  
•  PARALLEL=4:	
  1308	
  seconds	
  (total	
  import	
  2:38:29)	
  
•  PARALLEL=8:	
  719	
  seconds	
  (total	
  import	
  2:03:11)	
  
•  PARALLEL=32:	
  347	
  seconds	
  (total	
  import	
  1:44:41)	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
allel	
  Import	
  for	
  Indexes	
  in	
  11.2.0.4/12.1.0.2	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
portant	
  Performance	
  Fixes	
  
ackground:	
  package	
  bodies	
  have	
  always	
  been	
  loaded	
  in	
  parallel	
  
But,	
  loading	
  lots	
  of	
  large	
  packages	
  (e.g.	
  XLA	
  packages	
  in	
  EBS)	
  was	
  sIll	
  really	
  slow	
  
ug	
  16018315	
  filed,	
  fixed	
  in	
  2012	
  (included	
  in	
  11.2.0.4,	
  12.1.0.2)	
  
ow	
  much	
  improvement	
  can	
  a	
  single	
  bug	
  fix	
  make,	
  really?	
  
For	
  52093	
  Package	
  Bodies	
  
11.2.0.3:	
   	
   	
   	
  22179	
  seconds	
  
11.2.0.4/12.1.0.2:	
   	
  	
  	
  2810	
  seconds	
  
emark:	
  you	
  aren’t	
  sIll	
  running	
  11.2.0.3	
  or	
  12.1.0.1…are	
  you?	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
kage	
  Body	
  Import	
  Improvements	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
t’s	
  Put	
  It	
  All	
  Together	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
0:00:00	
  
1:12:00	
  
2:24:00	
  
3:36:00	
  
4:48:00	
  
6:00:00	
  
7:12:00	
  
8:24:00	
  
Import	
  Time	
  Improves,	
  Step	
  by	
  Step	
  
11.2.0.3	
  parallel=4	
  baseline	
  
11.2.0.4	
  parallel=4	
  with	
  package	
  
body	
  fix	
  
11.2.0.4	
  parallel=4	
  excluding	
  
sta>s>cs	
  
12.1.0.2	
  parallel=8	
  
12.1.0.2	
  parallel=8	
  w/index	
  patch	
  
12.1.0.2	
  parallel=32	
  w/index	
  patch	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
ore	
  Oracle	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
IntroducIon	
  
Recap:	
  Performance	
  Best	
  PracIce	
  
Important	
  Performance	
  Fixes	
  
Futures	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
   Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
e	
  Harbor	
  Statement	
  
preceding	
  is	
  intended	
  to	
  outline	
  our	
  general	
  product	
  direcIon.	
  It	
  is	
  intended	
  for	
  
rmaIon	
  purposes	
  only,	
  and	
  may	
  not	
  be	
  incorporated	
  into	
  any	
  contract.	
  It	
  is	
  not	
  a	
  
mmitment	
  to	
  deliver	
  any	
  material,	
  code,	
  or	
  funcIonality,	
  and	
  should	
  not	
  be	
  relied	
  u
making	
  purchasing	
  decisions.	
  The	
  development,	
  release,	
  and	
  Iming	
  of	
  any	
  features
cIonality	
  described	
  for	
  Oracle’s	
  products	
  remains	
  at	
  the	
  sole	
  discreIon	
  of	
  Oracle.	
  
Deep	
  Dive:	
  Data	
  Pump	
  Performance	
  Tips	
  &	
  Tricks	
  
Deep Dive: More Oracle Data Pump Performance Tips and Tricks

More Related Content

PPT
Oracle data pump
PPTX
Data pump-export-examples
PPT
Less18 moving data
PPT
40043 claborn
PPT
R12 d49656 gc10-apps dba 10
PPTX
Oracle ebs capacity_analysisusingstatisticalmethods
PDF
Cloudera Impala Source Code Explanation and Analysis
PPT
Les 06 rec
Oracle data pump
Data pump-export-examples
Less18 moving data
40043 claborn
R12 d49656 gc10-apps dba 10
Oracle ebs capacity_analysisusingstatisticalmethods
Cloudera Impala Source Code Explanation and Analysis
Les 06 rec

What's hot (20)

PPT
R12 d49656 gc10-apps dba 27
PPTX
Database Testing
PPT
R12 d49656 gc10-apps dba 26
PPTX
Dan Hotka's Top 10 Oracle 12c New Features
PDF
Query optimizer vivek sharma
PPT
Changing platforms of Oracle database
PDF
Create your oracle_apps_r12_lab_with_less_than_us1000
PPT
R12 d49656 gc10-apps dba 18
PDF
Porting Oracle Applications to PostgreSQL
PPT
R12 d49656 gc10-apps dba 20
DOCX
Oracle Database 12c "New features"
PPT
R12 d49656 gc10-apps dba 24
PPT
R12 d49656 gc10-apps dba 11
PPT
Les 15 perf_sql
PPTX
Tuning ETL's for Better BI
PDF
Oracle 12c New Features for Developers
PPT
Les 17 sched
PPT
Intro to Data warehousing lecture 09
PPT
R12 d49656 gc10-apps dba 13
PPT
01 oracle architecture
R12 d49656 gc10-apps dba 27
Database Testing
R12 d49656 gc10-apps dba 26
Dan Hotka's Top 10 Oracle 12c New Features
Query optimizer vivek sharma
Changing platforms of Oracle database
Create your oracle_apps_r12_lab_with_less_than_us1000
R12 d49656 gc10-apps dba 18
Porting Oracle Applications to PostgreSQL
R12 d49656 gc10-apps dba 20
Oracle Database 12c "New features"
R12 d49656 gc10-apps dba 24
R12 d49656 gc10-apps dba 11
Les 15 perf_sql
Tuning ETL's for Better BI
Oracle 12c New Features for Developers
Les 17 sched
Intro to Data warehousing lecture 09
R12 d49656 gc10-apps dba 13
01 oracle architecture
Ad

Viewers also liked (20)

PPTX
Top 10 tips for Oracle performance (Updated April 2015)
PPTX
Exalogic Technical Overview
PDF
Gestión de infraestructura tomcat/Tom EE con tfactory
PDF
Improving the Performance of PL/SQL function calls from SQL
PDF
It's raining data! Oracle databases in the cloud
PDF
Why to Upgrade to Oracle 12c
PDF
How Oracle Single/Multitenant will change a DBA's life
PDF
Best Features of Multitenant 12c
PPTX
Exalogic workshop overview__hardwarev4
PDF
What's next after Upgrade to 12c
PDF
Pluggable Databases: What they will break and why you should use them anyway!
PDF
SOA y Microservices Diferencias y Aplicaciones
PDF
Integracion Continua en Oracle ADF
PDF
The best Oracle Database 12c Tuning Features for Developers
PDF
Introduction to Oracle Clusterware 12c
PDF
How to Upgrade Hundreds or Thousands of Databases
PDF
Integration Cloud Service vs SOA
PDF
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
PDF
ADF 12c como Backend
PPTX
Oracle flex asm & flex cluster
Top 10 tips for Oracle performance (Updated April 2015)
Exalogic Technical Overview
Gestión de infraestructura tomcat/Tom EE con tfactory
Improving the Performance of PL/SQL function calls from SQL
It's raining data! Oracle databases in the cloud
Why to Upgrade to Oracle 12c
How Oracle Single/Multitenant will change a DBA's life
Best Features of Multitenant 12c
Exalogic workshop overview__hardwarev4
What's next after Upgrade to 12c
Pluggable Databases: What they will break and why you should use them anyway!
SOA y Microservices Diferencias y Aplicaciones
Integracion Continua en Oracle ADF
The best Oracle Database 12c Tuning Features for Developers
Introduction to Oracle Clusterware 12c
How to Upgrade Hundreds or Thousands of Databases
Integration Cloud Service vs SOA
Upgrade/Migrate to Oracle 12c: Live and Uncensored!
ADF 12c como Backend
Oracle flex asm & flex cluster
Ad

Similar to Deep Dive: More Oracle Data Pump Performance Tips and Tricks (20)

PPTX
Why Upgrade to Oracle Database 12c?
PDF
How to Upgrade Hundreds or Thousands of Databases
PDF
Performance Tuning intro
PDF
Performance tuning intro
PDF
4392091081755796971 emea10 zero_downtimeoperations
PDF
Oracle 12 Upgrade
PPTX
Oracle Openworld Presentation with Paul Kent (SAS) on Big Data Appliance and ...
PDF
Best Practice for Supercharging CA Workload Automation dSeries (DE) for Optim...
PDF
200850 oracle primavera p6 eppm performance tuning, testing, and monitoring
PDF
Oracle super cluster for oracle e business suite
PDF
01 demystifying mysq-lfororacledbaanddeveloperv1
PPTX
oracle upgrade 2015_509_Swonger_ppt.pptx
PDF
Magic With Oracle - Presentation
PDF
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
PPTX
Oracle real time replica solution (Oracle GoldenGate) in Telco and FSI vertic...
PDF
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
PPTX
How to Improve Performance Testing Using InfluxDB and Apache JMeter
PDF
Performance Schema and Sys Schema in MySQL 5.7
PPTX
SQL TUNING 101
PDF
MAKING MAGIC WITH ORACLE (Francisco Slide)
Why Upgrade to Oracle Database 12c?
How to Upgrade Hundreds or Thousands of Databases
Performance Tuning intro
Performance tuning intro
4392091081755796971 emea10 zero_downtimeoperations
Oracle 12 Upgrade
Oracle Openworld Presentation with Paul Kent (SAS) on Big Data Appliance and ...
Best Practice for Supercharging CA Workload Automation dSeries (DE) for Optim...
200850 oracle primavera p6 eppm performance tuning, testing, and monitoring
Oracle super cluster for oracle e business suite
01 demystifying mysq-lfororacledbaanddeveloperv1
oracle upgrade 2015_509_Swonger_ppt.pptx
Magic With Oracle - Presentation
[db tech showcase Tokyo 2016] E34: Oracle SE - RAC, HA and Standby are Still ...
Oracle real time replica solution (Oracle GoldenGate) in Telco and FSI vertic...
Migrating to Database 12c Multitenant - New Opportunities To Get It Right!
How to Improve Performance Testing Using InfluxDB and Apache JMeter
Performance Schema and Sys Schema in MySQL 5.7
SQL TUNING 101
MAKING MAGIC WITH ORACLE (Francisco Slide)

More from Guatemala User Group (14)

PPTX
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
PPTX
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
PDF
Oracle 12c New Features
PPTX
More than 12 More things about Oracle Database 12c
PPTX
Oracle Optimizer: 12c New Capabilities
PPTX
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
PPTX
Monitoreo del performance de linux con sar
PPTX
Diagnóstico de problemas de red para DBAs
PDF
Cutting edge Essbase
PDF
Gestión de grandes volúmenes de información
PDF
RMAN – The Pocket Knife of a DBA
PDF
Oracle Linux and Oracle Database - A Trusted Combination
PDF
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
PDF
Building Better Mobile Backends with Oracle Mobile Cloud Service
La transformacion digital en nuestra vida cotidiana. Un vistazo a las APIs
Cloud Integration for Human Resources: Connect with Your talent in the Cloud
Oracle 12c New Features
More than 12 More things about Oracle Database 12c
Oracle Optimizer: 12c New Capabilities
Understanding Query Optimization with ‘regular’ and ‘Exadata’ Oracle
Monitoreo del performance de linux con sar
Diagnóstico de problemas de red para DBAs
Cutting edge Essbase
Gestión de grandes volúmenes de información
RMAN – The Pocket Knife of a DBA
Oracle Linux and Oracle Database - A Trusted Combination
Re-­Think Mobile… Beyond Mobile­‐First: Oracle Mobile Strategy and Overview
Building Better Mobile Backends with Oracle Mobile Cloud Service

Recently uploaded (20)

PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PPTX
Configure Apache Mutual Authentication
PDF
Co-training pseudo-labeling for text classification with support vector machi...
PDF
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PPTX
future_of_ai_comprehensive_20250822032121.pptx
PDF
Lung cancer patients survival prediction using outlier detection and optimize...
PDF
Auditboard EB SOX Playbook 2023 edition.
PDF
Statistics on Ai - sourced from AIPRM.pdf
PDF
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
PDF
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
sustainability-14-14877-v2.pddhzftheheeeee
Configure Apache Mutual Authentication
Co-training pseudo-labeling for text classification with support vector machi...
Produktkatalog für HOBO Datenlogger, Wetterstationen, Sensoren, Software und ...
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
Transform-Your-Streaming-Platform-with-AI-Driven-Quality-Engineering.pdf
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
future_of_ai_comprehensive_20250822032121.pptx
Lung cancer patients survival prediction using outlier detection and optimize...
Auditboard EB SOX Playbook 2023 edition.
Statistics on Ai - sourced from AIPRM.pdf
Transform-Quality-Engineering-with-AI-A-60-Day-Blueprint-for-Digital-Success.pdf
“A New Era of 3D Sensing: Transforming Industries and Creating Opportunities,...
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
NewMind AI Weekly Chronicles – August ’25 Week IV

Deep Dive: More Oracle Data Pump Performance Tips and Tricks

  • 1. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   eep  Dive:  More  Oracle  Data  Pump   erformance  Tips  and  Tricks   n  Gagne   sulIng  Member  of  Technical  Staff   base  UIliIes   e  CorporaIon   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   Roy  F.  Swonger   Sr.  Director  &  Product  Manager   Database  Upgrade  &  UIliIes   Oracle  CorporaIon  
  • 2. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   e  Harbor  Statement   following  is  intended  to  outline  our  general  product  direcIon.  It  is  intended  for   rmaIon  purposes  only,  and  may  not  be  incorporated  into  any  contract.  It  is  not  a   mmitment  to  deliver  any  material,  code,  or  funcIonality,  and  should  not  be  relied  u making  purchasing  decisions.  The  development,  release,  and  Iming  of  any  features cIonality  described  for  Oracle’s  products  remains  at  the  sole  discreIon  of  Oracle.   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks  
  • 3. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   ore  Oracle  Data  Pump  Performance  Tips  &  Tricks   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   IntroducIon   Recap:  Performance  Best  PracIce   Important  Performance  Fixes   Futures  
  • 4. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   ore  Oracle  Data  Pump  Performance  Tips  &  Tricks   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   IntroducIon   Recap:  Performance  Best  PracIce   Important  Performance  Fixes   Futures  
  • 5. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   > whoami   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   16  years  w/Oracle   Previously  with  DEC  OpenVMS  –  10  years       -­‐  Exp/imp  Jan  2000   -­‐  Metadata  May  2001   -­‐  Data  Pump  Mar  2002   -­‐  Currently  responsible  for   -­‐  Worker  process  –  Mar  2002  –  Day  1   -­‐  Transportable  Tablespace  –  Apr  2005   -­‐  MCP  process  –  May  2007   -­‐  Export/Import  staIsIcs  –  Mar  2000       n  Gagne  
  • 6. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   > whoami   years  w/Oracle   eviously  with  DEC  Rdb   +  years  managing   ta  Pump   tabase  Upgrade   QL*Loader   ansportable  Tablespaces   Upgrade  and  Migrate  to  Oracle  12c  -­‐  Live  and  Uncensored Swonger  
  • 7. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   roducIon:  Test  Hardware   ystem:  Sun  Fire  X4170  M3   PU   Intel  x86-­‐64   16  total  cores  x  2.9  Ghz   Two-­‐way  hyperthreaded:  CPU_COUNT=32   orage:   4.7  TB  in  RAID  0  (striped  across  two  volumes)   AM:   256  GB   S:  Oracle  Linux  6.4   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   Good  amount  of  CPU  for   parallel  processing   Decent  Storage  Space  bu limited  performance  wit all  files  on  one  device   Seems  like  a  lot  un>l  you   try  running  4  databases   with  lots  of  parallelism…  
  • 8. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   roducIon:  Test  Database   racle  E-­‐Business  Suite  database   Lots  of  metadata   •  297  users   •  4213  system  grants   •  12455  sequences   •  51064  synonyms   •  4364  types   •  33164  tables   •  375,000+  object  grants   •  53,196  indexes   •  53,217  packages   •  7082  triggers     – Not  a  huge  amount  of  data…   •  Started  with  ~50GB  of  data   •  Built  larger  tables  for  some  cases,  up  to   ~500GB   – …but  lots  of  metadata   •  Heavy  stress  on  dicIonary  performance   – Export  was  from  11.1.0.7  into  16   dumpfiles   •  Natural  limit  to  parallelism  based  on  #  of  fi Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks  
  • 9. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   seline  Performance   mport  into  11.2.0.3   Connected  as  SYS   Simple  Parfile:   irectory=EBSIMP umpfile=aexp%U.dmp ogfile=full_4_11203.log ULL=Y XCLUDE=TABLESPACE arallel=4 etrics=y an  you  spot  any  problems?   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   Import time: 7h 53m 52s
  • 10. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   ore  Oracle  Data  Pump  Performance  Tips  &  Tricks   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   IntroducIon   Recap:  Performance  Best  PracIce   Important  Performance  Fixes   Futures  
  • 11. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   ta  Pump  Best  PracIces   ormance  Tips   se    PARALLEL=n Typically  n  =  2x  <number  of  CPU  cores>   XCLUDE=STATISTICS  on  export nable  parallel  import  of  indexes:  apply  patch  for  bug  21539301   Available  for  11.2.0.4  and  12.1.0.2   ew  feature  in  12c:  TRANSFORM=DISABLE_ARCHIVE_LOGGING:Y Apply  patch  for  bug  20778442   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks  
  • 12. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   eed  up  the  EsImate  Phase   What  is  the  EsImate   hase?   STIMATE=BLOCKS vs   STIMATE=STATISTICS onclusion:  the  more  data   ou  have,  the  bigger  the   enefit  received  from   STIMATE=STATISTICS (But  make  sure  you  have   accurate  staIsIcs!)   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   0   20   40   60   80   100   120   140   160   180   200   0   50   100   150   200   250   300   350   400   Es>mate  Phase  (seconds)   Data  Size  (GB)   Comparison  of  Es>mate  Phase  Methods   Blo Sta
  • 13. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   clude  StaIsIcs  from  Export    it  faster  to   EXCLUDE=STATISTICS and  build  them  awer  import,  or   Export  and  import  staIsIcs?   est  Results:   expdp  of  staIsIcs:  19  minutes   impdp  of  staIsIcs:  83  minutes   exec dbms_stats.gather_database_stats():  82  minutes   onclusion:   EXCLUDE=STATISTICS saves  ~25%  of  total  Ime  (plus  150  MB  of  dumpfile  spa Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   e  Ime  and  disk  space  
  • 14. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |    NOT  Connect  as  SYS  or  SYSDBA   We  do  not  export  SYS-­‐owned  objects  anyway,  so  SYS is  really  not   ecessary  for  data  pump  operaIons   onnecIng  as  SYS  (or  SYSDBA)  also  gives  worse  performance!   Import  of  table  using  PARALLEL=8 from  8-­‐dumpfile  export…     Connected  as  schema  user  GL:     mported "GL"."GL_BALANCES” 13.82 GB 147526320 rows in 83 seconds   Same  user  connected  as  SYSDBA:   mported "GL"."GL_BALANCES” 13.82 GB 147526320 rows in 206 seconds onclusion:   Use  roles  and  privileges  (e.g.  DATAPUMP_IMP_FULL_DATABASE)  not  super  use Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks    roles  and  privileges  to  do  what  you  need  
  • 15. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   ore  Oracle  Data  Pump  Performance  Tips  &  Tricks   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   IntroducIon   Recap:  Performance  Best  PracIce   Important  Performance  Fixes   Futures  
  • 16. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   portant  Performance  Fixes   atch  for  bug  number  21539301   Old  behavior:  build  one  index  at  a  Ime  with  PARALLEL  n  keyword   New  behavior:  build  n  indexes  at  a  Ime,  each  without  parallelism   est  results  for  53190  indexes   12.1.0.2.0  without  patch:   •  PARALLEL=4:  5681  seconds  (total  import  4:14:23)   •  PARALLEL=8:  5504  seconds  (total  import  3:30:14)   12.1.0.2.3  with  patch:   •  PARALLEL=4:  1308  seconds  (total  import  2:38:29)   •  PARALLEL=8:  719  seconds  (total  import  2:03:11)   •  PARALLEL=32:  347  seconds  (total  import  1:44:41)   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   allel  Import  for  Indexes  in  11.2.0.4/12.1.0.2  
  • 17. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   portant  Performance  Fixes   ackground:  package  bodies  have  always  been  loaded  in  parallel   But,  loading  lots  of  large  packages  (e.g.  XLA  packages  in  EBS)  was  sIll  really  slow   ug  16018315  filed,  fixed  in  2012  (included  in  11.2.0.4,  12.1.0.2)   ow  much  improvement  can  a  single  bug  fix  make,  really?   For  52093  Package  Bodies   11.2.0.3:        22179  seconds   11.2.0.4/12.1.0.2:        2810  seconds   emark:  you  aren’t  sIll  running  11.2.0.3  or  12.1.0.1…are  you?   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   kage  Body  Import  Improvements  
  • 18. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   t’s  Put  It  All  Together   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   0:00:00   1:12:00   2:24:00   3:36:00   4:48:00   6:00:00   7:12:00   8:24:00   Import  Time  Improves,  Step  by  Step   11.2.0.3  parallel=4  baseline   11.2.0.4  parallel=4  with  package   body  fix   11.2.0.4  parallel=4  excluding   sta>s>cs   12.1.0.2  parallel=8   12.1.0.2  parallel=8  w/index  patch   12.1.0.2  parallel=32  w/index  patch  
  • 19. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   ore  Oracle  Data  Pump  Performance  Tips  &  Tricks   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks   IntroducIon   Recap:  Performance  Best  PracIce   Important  Performance  Fixes   Futures  
  • 20. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks  
  • 21. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   e  Harbor  Statement   preceding  is  intended  to  outline  our  general  product  direcIon.  It  is  intended  for   rmaIon  purposes  only,  and  may  not  be  incorporated  into  any  contract.  It  is  not  a   mmitment  to  deliver  any  material,  code,  or  funcIonality,  and  should  not  be  relied  u making  purchasing  decisions.  The  development,  release,  and  Iming  of  any  features cIonality  described  for  Oracle’s  products  remains  at  the  sole  discreIon  of  Oracle.   Deep  Dive:  Data  Pump  Performance  Tips  &  Tricks