SlideShare une entreprise Scribd logo
1  sur  36
Télécharger pour lire hors ligne
SQLT	
  XPLORE	
  
The	
  SQLT	
  XPLAIN	
  Hidden	
  Child	
  
Carlos	
  Sierra	
  -­‐	
  Enkitec	
  
Carlos	
  Sierra	
  
• 
• 
• 
• 

Enkitec	
  Consultant	
  
Oracle	
  Performance	
  
SQL	
  Tuning	
  
PL/SQL	
  

11/12/13	
  

Enkitec	
  (c)	
  

2	
  
SQLT	
  XPLORE	
  
• 
• 
• 
• 

IntroducDon	
  
Input	
  and	
  Output	
  
Screen	
  Shots	
  
Demo	
  

11/12/13	
  

Enkitec	
  (c)	
  

3	
  
SQLTXPLAIN	
  (SQLT)	
  
• 
• 
• 
• 
• 

Free	
  SQL	
  Tuning	
  Tool	
  
Oracle	
  10g	
  to	
  12c	
  
Linux/UNIX/Windows	
  
Available	
  @	
  MOS	
  215187.1	
  
Includes	
  SQLT	
  Test	
  Case	
  (TC)	
  and	
  XPLORE	
  

11/12/13	
  

Enkitec	
  (c)	
  

4	
  
SQLT	
  Test	
  Case	
  (TC)	
  
•  Metadata	
  to	
  create	
  a	
  SQL	
  Tuning	
  test	
  case	
  
–  SQL	
  Text	
  with	
  bind	
  variables	
  and	
  their	
  values	
  
–  Schema	
  Objects	
  creaDon	
  script	
  
–  CBO	
  StaDsDcs	
  
–  Schema	
  Objects	
  mapping	
  

11/12/13	
  

Enkitec	
  (c)	
  

5	
  
What	
  is	
  SQLT	
  XPLORE?	
  
•  Brute	
  Force	
  stand-­‐alone	
  module	
  	
  
•  Under	
  sqlt/utl/xplore	
  out	
  of	
  sqlt.zip	
  
•  Acts	
  on	
  top	
  of	
  a	
  SQLT	
  TC	
  	
  
–  Or	
  any	
  SQL	
  on	
  a	
  Test	
  System	
  

•  Discovers	
  several	
  ExecuDon	
  Plans	
  
11/12/13	
  

Enkitec	
  (c)	
  

6	
  
XPLORE	
  Mechanics	
  
•  Iterates	
  over	
  	
  
–  CBO	
  Parameters	
  and	
  Fix	
  Control	
  

•  For	
  each	
  iteraDon	
  
–  Executes	
  input	
  SQL	
  
–  Captures	
  Plan	
  

•  Reports	
  Summary	
  
11/12/13	
  

Enkitec	
  (c)	
  

7	
  
XPLORE	
  Input	
  and	
  Output	
  
•  Inputs	
  one	
  script	
  with	
  one	
  SQL	
  
•  Outputs	
  a	
  zip	
  with	
  
–  HTML	
  Report	
  
–  SQL	
  Monitor	
  zip	
  
–  Staging	
  SQL	
  Script	
  
–  ExecuDon	
  Log	
  
11/12/13	
  

Enkitec	
  (c)	
  

8	
  
XPLORE	
  HTML	
  Report	
  
• 
• 
• 
• 
• 

Plans	
  Summary	
  
Discovered	
  Plans	
  
Baseline	
  
Completed	
  Tests	
  for	
  each	
  Plan	
  
ExecuDon	
  Plans	
  

11/12/13	
  

Enkitec	
  (c)	
  

9	
  
SQL	
  Monitor	
  ZIP	
  
•  Only	
  on	
  11g	
  
•  Requires	
  Oracle	
  Tuning	
  Pack	
  
–  Controlled	
  by	
  XPLORE	
  execuDon	
  parameter	
  

•  You	
  may	
  need	
  to	
  embed	
  /*+	
  MONITOR	
  */	
  hint	
  
•  One	
  SQL	
  Monitor	
  Report	
  for	
  each	
  iteraDon	
  
11/12/13	
  

Enkitec	
  (c)	
  

10	
  
11/12/13	
  

Enkitec	
  (c)	
  

11	
  
When	
  to	
  use	
  XPLORE?	
  
•  SQL	
  performance	
  analysis	
  	
  
–  Afer	
  a	
  database	
  sofware	
  upgrade	
  

•  Bad	
  Plan	
  is	
  reproducible	
  on	
  Test	
  System	
  
•  Good	
  Plan	
  can	
  be	
  obtained	
  using	
  OpDmizer	
  
Features	
  Enabled	
  (OFE)	
  set	
  to	
  prior	
  release	
  
•  You	
  want	
  to	
  narrow	
  reason	
  of	
  regression	
  
11/12/13	
  

Enkitec	
  (c)	
  

12	
  
MulDple	
  Uses	
  
•  SQL	
  Performance	
  Regression	
  afer	
  Upgrade	
  
•  Long	
  Parse	
  Time	
  Analysis	
  
•  Wrong	
  Results	
  Analysis	
  
–  DiagnosDc	
  of	
  Query	
  TransformaDons	
  Errors	
  

•  Discover	
  effect	
  of	
  “disabled”	
  fixes	
  
•  Find	
  a	
  beler	
  performing	
  Plan	
  
11/12/13	
  

Enkitec	
  (c)	
  

13	
  
When	
  NOT	
  to	
  use	
  XPLORE?	
  
•  When	
  your	
  SQL	
  to	
  be	
  analyzed	
  may	
  corrupt	
  or	
  
update	
  data	
  
•  When	
  using	
  XPLORE	
  with	
  data	
  and	
  each	
  
iteraDon	
  takes	
  more	
  than	
  a	
  few	
  seconds	
  

11/12/13	
  

Enkitec	
  (c)	
  

14	
  
XPLORE	
  Prerequisites	
  
•  Create	
  a	
  SQL	
  Script	
  with	
  one	
  SQL	
  
–  Binds	
  are	
  allowed	
  

•  SQL	
  on	
  script	
  must	
  include	
  /*	
  ^^unique_id	
  */	
  
•  Script	
  must	
  be	
  capable	
  to	
  execute	
  stand	
  alone	
  
•  SQL	
  may	
  or	
  may	
  not	
  return	
  rows	
  	
  
–  XPLORE	
  works	
  with	
  and	
  without	
  data	
  
11/12/13	
  

Enkitec	
  (c)	
  

15	
  
XPLORE	
  InstallaDon	
  
•  Place	
  your	
  input	
  SQL	
  Script	
  into	
  sqlt/utl/xplore	
  
•  Execute	
  sqlt/utl/xplore/install.sql	
  as	
  SYS	
  
•  Input	
  test	
  case	
  user	
  and	
  its	
  password	
  
–  XPLORE	
  will	
  be	
  executed	
  as	
  test	
  case	
  user	
  

11/12/13	
  

Enkitec	
  (c)	
  

16	
  
Uninstalling	
  XPLORE	
  
•  Execute	
  sqlt/utl/xplore/uninstall.sql	
  as	
  SYS	
  
•  Provide	
  test	
  case	
  user	
  when	
  asked	
  

11/12/13	
  

Enkitec	
  (c)	
  

17	
  
XPLORE	
  use	
  
• 
• 
• 
• 
• 

Navigate	
  to	
  sqlt/utl/xplore/	
  
Connect	
  as	
  the	
  test	
  case	
  user	
  
Set	
  the	
  CBO	
  environment	
  (opDonal)	
  
Execute	
  create_xplore_script.sql	
  
Execute	
  dynamically	
  generated	
  xplore_script	
  

11/12/13	
  

Enkitec	
  (c)	
  

18	
  
Create	
  XPLORE	
  Script	
  Parameters	
  
• 
• 
• 
• 
• 

XPLORE	
  Method:	
  [	
  XECUTE	
  |	
  XPLAIN	
  ]	
  
Include	
  CBO	
  Parameters:	
  [	
  Y	
  |	
  N	
  ]	
  
Include	
  Exadata	
  Parameters:	
  [	
  Y	
  |	
  N	
  ]	
  
Include	
  Fix	
  Control:	
  [	
  Y	
  |	
  N	
  ]	
  
Generate	
  SQL	
  Monitor	
  Reports:	
  [	
  N	
  |	
  Y	
  ]	
  

11/12/13	
  

Enkitec	
  (c)	
  

19	
  
XPLORE	
  Script	
  Parameters	
  
•  Script	
  to	
  be	
  executed	
  on	
  each	
  iteraDon	
  
–  Script	
  must	
  reside	
  on	
  sqlt/utl/xplore	
  
–  Must	
  contain	
  /*	
  ^^unique_id	
  */	
  
–  Must	
  be	
  capable	
  of	
  stand-­‐alone	
  error-­‐free	
  exec	
  

•  Password	
  for	
  test	
  case	
  user	
  
–  Each	
  iteraDon	
  re-­‐connects	
  and	
  sets	
  CBO	
  env	
  (opt)	
  
11/12/13	
  

Enkitec	
  (c)	
  

20	
  
Input	
  tc.sql	
  Sample	
  

11/12/13	
  

Enkitec	
  (c)	
  

21	
  
11/12/13	
  

Enkitec	
  (c)	
  

22	
  
11/12/13	
  

Enkitec	
  (c)	
  

23	
  
Input	
  q1.sql	
  Sample	
  

11/12/13	
  

Enkitec	
  (c)	
  

24	
  
11/12/13	
  

Enkitec	
  (c)	
  

25	
  
11/12/13	
  

Enkitec	
  (c)	
  

26	
  
Input	
  q2.sql	
  Sample	
  

11/12/13	
  

Enkitec	
  (c)	
  

27	
  
11/12/13	
  

Enkitec	
  (c)	
  

28	
  
11/12/13	
  

Enkitec	
  (c)	
  

29	
  
11/12/13	
  

Enkitec	
  (c)	
  

30	
  
Input	
  q3.sql	
  Sample	
  

11/12/13	
  

Enkitec	
  (c)	
  

31	
  
11/12/13	
  

Enkitec	
  (c)	
  

32	
  
11/12/13	
  

Enkitec	
  (c)	
  

33	
  
Demo	
  Time	
  

11/12/13	
  

Enkitec	
  (c)	
  

34	
  
References	
  
•  SQLTXPLAIN	
  (SQLT)	
  
–  MOS	
  215187.1	
  

11/12/13	
  

Enkitec	
  (c)	
  

35	
  
Carlos	
  Sierra	
  Contact	
  Info	
  
•  carlos.sierra@enkitec.com	
  
•  csierra_usa	
  
•  carlos-­‐sierra.net	
  
11/12/13	
  

Enkitec	
  (c)	
  

36	
  

Contenu connexe

Tendances

Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Enkitec
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the TradeCarlos Sierra
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Carlos Sierra
 
Understanding SQL Trace, TKPROF and Execution Plan for beginners
Understanding SQL Trace, TKPROF and Execution Plan for beginnersUnderstanding SQL Trace, TKPROF and Execution Plan for beginners
Understanding SQL Trace, TKPROF and Execution Plan for beginnersCarlos Sierra
 
Introducing the eDB360 Tool
Introducing the eDB360 ToolIntroducing the eDB360 Tool
Introducing the eDB360 ToolCarlos Sierra
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04Carlos Sierra
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityCarlos Sierra
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsCarlos Sierra
 
Hitchhiker's Guide to free Oracle tuning tools
Hitchhiker's Guide to free Oracle tuning toolsHitchhiker's Guide to free Oracle tuning tools
Hitchhiker's Guide to free Oracle tuning toolsBjoern Rost
 
Oracle SQL tuning with SQL Plan Management
Oracle SQL tuning with SQL Plan ManagementOracle SQL tuning with SQL Plan Management
Oracle SQL tuning with SQL Plan ManagementBjoern Rost
 
Apache Solr: Upgrading Your Upgrade Experience - Hrishikesh Gadre, Lucidworks
Apache Solr: Upgrading Your Upgrade Experience - Hrishikesh Gadre, LucidworksApache Solr: Upgrading Your Upgrade Experience - Hrishikesh Gadre, Lucidworks
Apache Solr: Upgrading Your Upgrade Experience - Hrishikesh Gadre, LucidworksLucidworks
 
How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14Bobby Curtis
 
AWR Warehouse - An Introduction (HKOUG)
AWR Warehouse - An Introduction (HKOUG)AWR Warehouse - An Introduction (HKOUG)
AWR Warehouse - An Introduction (HKOUG)Patrick Jolliffe
 
Terraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud InfrastructureTerraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud InfrastructureBobby Curtis
 
SQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDCSQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDCKoenVerbeeck
 
Improving oracle12c security
Improving oracle12c securityImproving oracle12c security
Improving oracle12c securityLaurent Leturgez
 
SIMD inside and outside oracle 12c
SIMD inside and outside oracle 12cSIMD inside and outside oracle 12c
SIMD inside and outside oracle 12cLaurent Leturgez
 

Tendances (20)

Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the Trade
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360
 
Understanding SQL Trace, TKPROF and Execution Plan for beginners
Understanding SQL Trace, TKPROF and Execution Plan for beginnersUnderstanding SQL Trace, TKPROF and Execution Plan for beginners
Understanding SQL Trace, TKPROF and Execution Plan for beginners
 
Introducing the eDB360 Tool
Introducing the eDB360 ToolIntroducing the eDB360 Tool
Introducing the eDB360 Tool
 
Adapting and adopting spm v04
Adapting and adopting spm v04Adapting and adopting spm v04
Adapting and adopting spm v04
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Hitchhiker's Guide to free Oracle tuning tools
Hitchhiker's Guide to free Oracle tuning toolsHitchhiker's Guide to free Oracle tuning tools
Hitchhiker's Guide to free Oracle tuning tools
 
Exachk and oem12c
Exachk and oem12cExachk and oem12c
Exachk and oem12c
 
Free oracle performance tools
Free oracle performance toolsFree oracle performance tools
Free oracle performance tools
 
Oracle SQL tuning with SQL Plan Management
Oracle SQL tuning with SQL Plan ManagementOracle SQL tuning with SQL Plan Management
Oracle SQL tuning with SQL Plan Management
 
Apache Solr: Upgrading Your Upgrade Experience - Hrishikesh Gadre, Lucidworks
Apache Solr: Upgrading Your Upgrade Experience - Hrishikesh Gadre, LucidworksApache Solr: Upgrading Your Upgrade Experience - Hrishikesh Gadre, Lucidworks
Apache Solr: Upgrading Your Upgrade Experience - Hrishikesh Gadre, Lucidworks
 
How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14How many ways to monitor oracle golden gate - OOW14
How many ways to monitor oracle golden gate - OOW14
 
AWR Warehouse - An Introduction (HKOUG)
AWR Warehouse - An Introduction (HKOUG)AWR Warehouse - An Introduction (HKOUG)
AWR Warehouse - An Introduction (HKOUG)
 
AMIS Oracle OpenWorld 2013 Review Part 3 - Fusion Middleware
AMIS Oracle OpenWorld 2013 Review Part 3 - Fusion MiddlewareAMIS Oracle OpenWorld 2013 Review Part 3 - Fusion Middleware
AMIS Oracle OpenWorld 2013 Review Part 3 - Fusion Middleware
 
Terraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud InfrastructureTerraform & Oracle Cloud Infrastructure
Terraform & Oracle Cloud Infrastructure
 
SQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDCSQLServerDays2012_SSIS_CDC
SQLServerDays2012_SSIS_CDC
 
Improving oracle12c security
Improving oracle12c securityImproving oracle12c security
Improving oracle12c security
 
SIMD inside and outside oracle 12c
SIMD inside and outside oracle 12cSIMD inside and outside oracle 12c
SIMD inside and outside oracle 12c
 

Similaire à SQLT XPLORE - The SQLT XPLAIN Hidden Child

Oracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAsOracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAsAlex Zaballa
 
Oracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c  - New Features for Developers and DBAsOracle Database 12c  - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAsAlex Zaballa
 
Exploring plsql new features best practices september 2013
Exploring plsql new features best practices   september 2013Exploring plsql new features best practices   september 2013
Exploring plsql new features best practices september 2013Andrejs Vorobjovs
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2Alex Zaballa
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2Alex Zaballa
 
Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder
 
An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1Navneet Upneja
 
Less04 instance
Less04 instanceLess04 instance
Less04 instanceImran Ali
 
D73549GC10_06.pptx
D73549GC10_06.pptxD73549GC10_06.pptx
D73549GC10_06.pptxVLQuyNhn
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata securityKyle Hailey
 
Oracle Database In-Memory Option in Action
Oracle Database In-Memory Option in ActionOracle Database In-Memory Option in Action
Oracle Database In-Memory Option in ActionTanel Poder
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneEnkitec
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)Gustavo Rene Antunez
 
MOUG17: SQLT Utility for Tuning - Practical Examples
MOUG17: SQLT Utility for Tuning - Practical ExamplesMOUG17: SQLT Utility for Tuning - Practical Examples
MOUG17: SQLT Utility for Tuning - Practical ExamplesMonica Li
 
MOUG17: DB Security; Secure your Data
MOUG17: DB Security; Secure your DataMOUG17: DB Security; Secure your Data
MOUG17: DB Security; Secure your DataMonica Li
 
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Bobby Curtis
 

Similaire à SQLT XPLORE - The SQLT XPLAIN Hidden Child (20)

Oracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAsOracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAs
 
Oracle Database 12c - New Features for Developers and DBAs
Oracle Database 12c  - New Features for Developers and DBAsOracle Database 12c  - New Features for Developers and DBAs
Oracle Database 12c - New Features for Developers and DBAs
 
Exploring plsql new features best practices september 2013
Exploring plsql new features best practices   september 2013Exploring plsql new features best practices   september 2013
Exploring plsql new features best practices september 2013
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2
 
DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2DBA Commands and Concepts That Every Developer Should Know - Part 2
DBA Commands and Concepts That Every Developer Should Know - Part 2
 
Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)Tanel Poder Oracle Scripts and Tools (2010)
Tanel Poder Oracle Scripts and Tools (2010)
 
An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1An Approach to Sql tuning - Part 1
An Approach to Sql tuning - Part 1
 
Less04 instance
Less04 instanceLess04 instance
Less04 instance
 
Oracle SQL Tuning
Oracle SQL TuningOracle SQL Tuning
Oracle SQL Tuning
 
D73549GC10_06.pptx
D73549GC10_06.pptxD73549GC10_06.pptx
D73549GC10_06.pptx
 
Dan Norris: Exadata security
Dan Norris: Exadata securityDan Norris: Exadata security
Dan Norris: Exadata security
 
Oracle SQL Tuning
Oracle SQL TuningOracle SQL Tuning
Oracle SQL Tuning
 
Plantilla oracle
Plantilla oraclePlantilla oracle
Plantilla oracle
 
Oracle Database In-Memory Option in Action
Oracle Database In-Memory Option in ActionOracle Database In-Memory Option in Action
Oracle Database In-Memory Option in Action
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry Osborne
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
 
MOUG17: SQLT Utility for Tuning - Practical Examples
MOUG17: SQLT Utility for Tuning - Practical ExamplesMOUG17: SQLT Utility for Tuning - Practical Examples
MOUG17: SQLT Utility for Tuning - Practical Examples
 
MOUG17: DB Security; Secure your Data
MOUG17: DB Security; Secure your DataMOUG17: DB Security; Secure your Data
MOUG17: DB Security; Secure your Data
 
Less04_Database_Instance.ppt
Less04_Database_Instance.pptLess04_Database_Instance.ppt
Less04_Database_Instance.ppt
 
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
Oracle GoldenGate Presentation from OTN Virtual Technology Summit - 7/9/14 (PDF)
 

Plus de Enkitec

Using Angular JS in APEX
Using Angular JS in APEXUsing Angular JS in APEX
Using Angular JS in APEXEnkitec
 
Controlling execution plans 2014
Controlling execution plans   2014Controlling execution plans   2014
Controlling execution plans 2014Enkitec
 
Engineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEngineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEnkitec
 
Think Exa!
Think Exa!Think Exa!
Think Exa!Enkitec
 
In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1Enkitec
 
Mini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingMini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingEnkitec
 
Profiling Oracle with GDB
Profiling Oracle with GDBProfiling Oracle with GDB
Profiling Oracle with GDBEnkitec
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the TradeEnkitec
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsEnkitec
 
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityEnkitec
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceEnkitec
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture PerformanceEnkitec
 
APEX Security Primer
APEX Security PrimerAPEX Security Primer
APEX Security PrimerEnkitec
 
How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?Enkitec
 
Profiling the logwriter and database writer
Profiling the logwriter and database writerProfiling the logwriter and database writer
Profiling the logwriter and database writerEnkitec
 
Fatkulin hotsos 2014
Fatkulin hotsos 2014Fatkulin hotsos 2014
Fatkulin hotsos 2014Enkitec
 
Combining ACS Flexibility with SPM Stability
Combining ACS Flexibility with SPM StabilityCombining ACS Flexibility with SPM Stability
Combining ACS Flexibility with SPM StabilityEnkitec
 
Why You May Not Need Offloading
Why You May Not Need OffloadingWhy You May Not Need Offloading
Why You May Not Need OffloadingEnkitec
 
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEXLOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEXEnkitec
 
Creating a Business Oriented UI in APEX
Creating a Business Oriented UI in APEXCreating a Business Oriented UI in APEX
Creating a Business Oriented UI in APEXEnkitec
 

Plus de Enkitec (20)

Using Angular JS in APEX
Using Angular JS in APEXUsing Angular JS in APEX
Using Angular JS in APEX
 
Controlling execution plans 2014
Controlling execution plans   2014Controlling execution plans   2014
Controlling execution plans 2014
 
Engineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service DemonstrationEngineered Systems: Environment-as-a-Service Demonstration
Engineered Systems: Environment-as-a-Service Demonstration
 
Think Exa!
Think Exa!Think Exa!
Think Exa!
 
In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1In Search of Plan Stability - Part 1
In Search of Plan Stability - Part 1
 
Mini Session - Using GDB for Profiling
Mini Session - Using GDB for ProfilingMini Session - Using GDB for Profiling
Mini Session - Using GDB for Profiling
 
Profiling Oracle with GDB
Profiling Oracle with GDBProfiling Oracle with GDB
Profiling Oracle with GDB
 
Oracle Performance Tools of the Trade
Oracle Performance Tools of the TradeOracle Performance Tools of the Trade
Oracle Performance Tools of the Trade
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan StabilityUsing SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
 
Oracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture PerformanceOracle GoldenGate Architecture Performance
Oracle GoldenGate Architecture Performance
 
OGG Architecture Performance
OGG Architecture PerformanceOGG Architecture Performance
OGG Architecture Performance
 
APEX Security Primer
APEX Security PrimerAPEX Security Primer
APEX Security Primer
 
How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?How Many Ways Can I Manage Oracle GoldenGate?
How Many Ways Can I Manage Oracle GoldenGate?
 
Profiling the logwriter and database writer
Profiling the logwriter and database writerProfiling the logwriter and database writer
Profiling the logwriter and database writer
 
Fatkulin hotsos 2014
Fatkulin hotsos 2014Fatkulin hotsos 2014
Fatkulin hotsos 2014
 
Combining ACS Flexibility with SPM Stability
Combining ACS Flexibility with SPM StabilityCombining ACS Flexibility with SPM Stability
Combining ACS Flexibility with SPM Stability
 
Why You May Not Need Offloading
Why You May Not Need OffloadingWhy You May Not Need Offloading
Why You May Not Need Offloading
 
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEXLOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
 
Creating a Business Oriented UI in APEX
Creating a Business Oriented UI in APEXCreating a Business Oriented UI in APEX
Creating a Business Oriented UI in APEX
 

Dernier

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Dernier (20)

Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

SQLT XPLORE - The SQLT XPLAIN Hidden Child

  • 1. SQLT  XPLORE   The  SQLT  XPLAIN  Hidden  Child   Carlos  Sierra  -­‐  Enkitec  
  • 2. Carlos  Sierra   •  •  •  •  Enkitec  Consultant   Oracle  Performance   SQL  Tuning   PL/SQL   11/12/13   Enkitec  (c)   2  
  • 3. SQLT  XPLORE   •  •  •  •  IntroducDon   Input  and  Output   Screen  Shots   Demo   11/12/13   Enkitec  (c)   3  
  • 4. SQLTXPLAIN  (SQLT)   •  •  •  •  •  Free  SQL  Tuning  Tool   Oracle  10g  to  12c   Linux/UNIX/Windows   Available  @  MOS  215187.1   Includes  SQLT  Test  Case  (TC)  and  XPLORE   11/12/13   Enkitec  (c)   4  
  • 5. SQLT  Test  Case  (TC)   •  Metadata  to  create  a  SQL  Tuning  test  case   –  SQL  Text  with  bind  variables  and  their  values   –  Schema  Objects  creaDon  script   –  CBO  StaDsDcs   –  Schema  Objects  mapping   11/12/13   Enkitec  (c)   5  
  • 6. What  is  SQLT  XPLORE?   •  Brute  Force  stand-­‐alone  module     •  Under  sqlt/utl/xplore  out  of  sqlt.zip   •  Acts  on  top  of  a  SQLT  TC     –  Or  any  SQL  on  a  Test  System   •  Discovers  several  ExecuDon  Plans   11/12/13   Enkitec  (c)   6  
  • 7. XPLORE  Mechanics   •  Iterates  over     –  CBO  Parameters  and  Fix  Control   •  For  each  iteraDon   –  Executes  input  SQL   –  Captures  Plan   •  Reports  Summary   11/12/13   Enkitec  (c)   7  
  • 8. XPLORE  Input  and  Output   •  Inputs  one  script  with  one  SQL   •  Outputs  a  zip  with   –  HTML  Report   –  SQL  Monitor  zip   –  Staging  SQL  Script   –  ExecuDon  Log   11/12/13   Enkitec  (c)   8  
  • 9. XPLORE  HTML  Report   •  •  •  •  •  Plans  Summary   Discovered  Plans   Baseline   Completed  Tests  for  each  Plan   ExecuDon  Plans   11/12/13   Enkitec  (c)   9  
  • 10. SQL  Monitor  ZIP   •  Only  on  11g   •  Requires  Oracle  Tuning  Pack   –  Controlled  by  XPLORE  execuDon  parameter   •  You  may  need  to  embed  /*+  MONITOR  */  hint   •  One  SQL  Monitor  Report  for  each  iteraDon   11/12/13   Enkitec  (c)   10  
  • 12. When  to  use  XPLORE?   •  SQL  performance  analysis     –  Afer  a  database  sofware  upgrade   •  Bad  Plan  is  reproducible  on  Test  System   •  Good  Plan  can  be  obtained  using  OpDmizer   Features  Enabled  (OFE)  set  to  prior  release   •  You  want  to  narrow  reason  of  regression   11/12/13   Enkitec  (c)   12  
  • 13. MulDple  Uses   •  SQL  Performance  Regression  afer  Upgrade   •  Long  Parse  Time  Analysis   •  Wrong  Results  Analysis   –  DiagnosDc  of  Query  TransformaDons  Errors   •  Discover  effect  of  “disabled”  fixes   •  Find  a  beler  performing  Plan   11/12/13   Enkitec  (c)   13  
  • 14. When  NOT  to  use  XPLORE?   •  When  your  SQL  to  be  analyzed  may  corrupt  or   update  data   •  When  using  XPLORE  with  data  and  each   iteraDon  takes  more  than  a  few  seconds   11/12/13   Enkitec  (c)   14  
  • 15. XPLORE  Prerequisites   •  Create  a  SQL  Script  with  one  SQL   –  Binds  are  allowed   •  SQL  on  script  must  include  /*  ^^unique_id  */   •  Script  must  be  capable  to  execute  stand  alone   •  SQL  may  or  may  not  return  rows     –  XPLORE  works  with  and  without  data   11/12/13   Enkitec  (c)   15  
  • 16. XPLORE  InstallaDon   •  Place  your  input  SQL  Script  into  sqlt/utl/xplore   •  Execute  sqlt/utl/xplore/install.sql  as  SYS   •  Input  test  case  user  and  its  password   –  XPLORE  will  be  executed  as  test  case  user   11/12/13   Enkitec  (c)   16  
  • 17. Uninstalling  XPLORE   •  Execute  sqlt/utl/xplore/uninstall.sql  as  SYS   •  Provide  test  case  user  when  asked   11/12/13   Enkitec  (c)   17  
  • 18. XPLORE  use   •  •  •  •  •  Navigate  to  sqlt/utl/xplore/   Connect  as  the  test  case  user   Set  the  CBO  environment  (opDonal)   Execute  create_xplore_script.sql   Execute  dynamically  generated  xplore_script   11/12/13   Enkitec  (c)   18  
  • 19. Create  XPLORE  Script  Parameters   •  •  •  •  •  XPLORE  Method:  [  XECUTE  |  XPLAIN  ]   Include  CBO  Parameters:  [  Y  |  N  ]   Include  Exadata  Parameters:  [  Y  |  N  ]   Include  Fix  Control:  [  Y  |  N  ]   Generate  SQL  Monitor  Reports:  [  N  |  Y  ]   11/12/13   Enkitec  (c)   19  
  • 20. XPLORE  Script  Parameters   •  Script  to  be  executed  on  each  iteraDon   –  Script  must  reside  on  sqlt/utl/xplore   –  Must  contain  /*  ^^unique_id  */   –  Must  be  capable  of  stand-­‐alone  error-­‐free  exec   •  Password  for  test  case  user   –  Each  iteraDon  re-­‐connects  and  sets  CBO  env  (opt)   11/12/13   Enkitec  (c)   20  
  • 21. Input  tc.sql  Sample   11/12/13   Enkitec  (c)   21  
  • 24. Input  q1.sql  Sample   11/12/13   Enkitec  (c)   24  
  • 27. Input  q2.sql  Sample   11/12/13   Enkitec  (c)   27  
  • 31. Input  q3.sql  Sample   11/12/13   Enkitec  (c)   31  
  • 34. Demo  Time   11/12/13   Enkitec  (c)   34  
  • 35. References   •  SQLTXPLAIN  (SQLT)   –  MOS  215187.1   11/12/13   Enkitec  (c)   35  
  • 36. Carlos  Sierra  Contact  Info   •  carlos.sierra@enkitec.com   •  csierra_usa   •  carlos-­‐sierra.net   11/12/13   Enkitec  (c)   36