Your SlideShare is downloading. ×
SQL Tuning Tools of the Trade
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

SQL Tuning Tools of the Trade

124
views

Published on

SQL Tuning Tools of the Trade

SQL Tuning Tools of the Trade

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
124
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. SQL  Tuning  Tools  of  the  Trade   Carlos  Sierra  
  • 2. Carlos  Sierra   •  SQLTXPLAIN  +  SQL  Health-­‐Check  SQLHC  +   •  Consultant/Developer/DBA/Design/+   •  Oracle  Performance  +  SQL  Tuning   •  Oracle  Database  Health-­‐Check   •  Tools  +  Scripts   •  Speaker   Enkitec  (c)  2014   2  
  • 3. SQL  Tuning  Tools  of  the  Trade   •  Stand-­‐alone  Scripts   •  SQLHC   •  SQLTXPLAIN   6/21/14   Enkitec  ©   3  
  • 4. CommonaliQes   •  Input  one  SQL  statement   – SQL_ID   •  Output  one  or  more  diagnosQcs  files   – Used  mainly  for  SQL  Tuning   •  Make  use  of  some  Oracle  licensed  features   – DiagnosQcs  and/or  Tuning  Packs     6/21/14   Enkitec  ©   4  
  • 5. CapabiliQes  Compare   6/21/14   Enkitec  ©   5   Stand-­‐alone  Scripts    SQLHC  SQLTXPLAIN  
  • 6. Footprint  Compare   6/21/14   Enkitec  ©   6   Stand-­‐alone  Scripts    SQLHC  SQLTXPLAIN  
  • 7. Stand-­‐alone  Scripts   •  Specialized  diagnosQcs  for  SQL  Tuning   – planx.sql:  ExecuQon  Plans  from  Memory  and  RAC   – sqlmon.sql:  SQL  Monitor  Report   – sqlash.sql:  AcQve  Session  History  (ASH)   – mystat.sql:  Performance  StaQsQcs  (counters)   •  Install  nothing  on  the  database   6/21/14   Enkitec  ©   7  
  • 8. SQLHC   •  Provides  most  common  diagnosQcs  needed   for  SQL  Tuning   •  Installs  nothing  on  the  database   6/21/14   Enkitec  ©   8  
  • 9. SQLTXPLAIN   •  Provides  about  everything  that  is  ever  need   for  SQL  Tuning   – Robust  set  of  diagnosQcs  reports   – AutomaQc  extracQon  of  Test  Case   •  Installs  two  self-­‐contained  schemas   6/21/14   Enkitec  ©   9  
  • 10. 6/21/14   Enkitec  ©   10  
  • 11. References   •  Stand-­‐alone  Scripts   – carlos-­‐sierra.net   •  SQLHC   – MOS  1366133.1   •  SQLTXPLAIN   – MOS  215187.1   6/21/14   Enkitec  ©   11  
  • 12. Contact  InformaQon   •  carlos.sierra@enkitec.com   •  carlos-­‐sierra.net   •  @csierra_usa   Enkitec  (c)  2014   12  

×