SlideShare a Scribd company logo
Oracle	
  Performance	
  
Tools	
  of	
  the	
  Trade	
  
Carlos	
  Sierra	
  
Carlos	
  Sierra	
  
•  SQLTXPLAIN	
  +	
  SQL	
  Health-­‐Check	
  SQLHC	
  +	
  
•  Consultant/Developer/DBA/Design/+	
  
•  Oracle	
  Performance	
  +	
  SQL	
  Tuning	
  
•  Oracle	
  Database	
  Health-­‐Check	
  
•  Tools	
  +	
  Scripts	
  
•  Speaker	
  
Enkitec	
  ©	
  2014	
   2	
  
Tools	
  of	
  the	
  Trade	
  
•  OEM	
  
•  AWR	
  
•  ADDM	
  
•  ASH	
  
•  Snapper	
  
•  EDB360	
  
Enkitec	
  ©	
  2014	
   3	
  
OEM	
  
•  Oracle	
  Enterprise	
  Manager	
  (OEM)	
  
– Database	
  Control	
  
– Grid	
  Control	
  
•  GUI	
  Tool	
  for	
  System	
  Monitoring	
  
– Including	
  Performance	
  
Enkitec	
  ©	
  2014	
   4	
  
Enkitec	
  ©	
  2014	
   5	
  
Enkitec	
  ©	
  2014	
   6	
  
Enkitec	
  ©	
  2014	
   7	
  
Enkitec	
  ©	
  2014	
   8	
  
Enkitec	
  ©	
  2014	
   9	
  
Enkitec	
  ©	
  2014	
   10	
  
Enkitec	
  ©	
  2014	
   11	
  
Enkitec	
  ©	
  2014	
   12	
  
Enkitec	
  ©	
  2014	
   13	
  
Enkitec	
  ©	
  2014	
   14	
  
Enkitec	
  ©	
  2014	
   15	
  
Enkitec	
  ©	
  2014	
   16	
  
Enkitec	
  ©	
  2014	
   17	
  
What	
  is	
  wrong?	
  
Enkitec	
  ©	
  2014	
   18	
  
Enkitec	
  ©	
  2014	
   19	
  
Enkitec	
  ©	
  2014	
   20	
  
Enkitec	
  ©	
  2014	
   21	
  
AWR	
  
•  Automa[c	
  Workload	
  Repository	
  (AWR)	
  
•  Requires	
  Oracle	
  Diagnos[cs	
  Pack	
  License	
  
•  Set	
  of	
  DBA_HIST	
  views	
  
•  Periodic	
  Snapshots	
  (1hr	
  apart	
  by	
  default)	
  
•  7	
  days	
  history	
  (by	
  default)	
  
Enkitec	
  ©	
  2014	
   22	
  
AWR	
  Demo	
  
•  Exadata	
  with	
  happy	
  Users	
  (no	
  complains)	
  
•  Which	
  bo_lenecks	
  you	
  see?	
  
•  What	
  is	
  your	
  hypothesis?	
  
•  What	
  would	
  be	
  your	
  ac[on	
  plan?	
  
Enkitec	
  ©	
  2014	
   23	
  
Enkitec	
  ©	
  2014	
   24	
  
Enkitec	
  ©	
  2014	
   25	
  
Enkitec	
  ©	
  2014	
   26	
  
Enkitec	
  ©	
  2014	
   27	
  
Enkitec	
  ©	
  2014	
   28	
  
Enkitec	
  ©	
  2014	
   29	
  
Enkitec	
  ©	
  2014	
   30	
  
Enkitec	
  ©	
  2014	
   31	
  
Enkitec	
  ©	
  2014	
   32	
  
Enkitec	
  ©	
  2014	
   33	
  
Enkitec	
  ©	
  2014	
   34	
  
Enkitec	
  ©	
  2014	
   35	
  
Enkitec	
  ©	
  2014	
   36	
  
Enkitec	
  ©	
  2014	
   37	
  
AWR	
  Demo	
  Conclusions	
  (1)	
  
•  High	
  Parsing	
  
– Use	
  of	
  Literals	
  instead	
  of	
  Bind	
  Variables	
  
•  Some	
  subop[mal	
  SQL	
  was[ng	
  CPU	
  cycles	
  
•  High	
  Background	
  Waits	
  related	
  to	
  DBWR	
  
•  Write	
  Back	
  Flash	
  Cache	
  disabled	
  
– Hard	
  to	
  spot!	
  
Enkitec	
  ©	
  2014	
   38	
  
AWR	
  Demo	
  Conclusions	
  (2)	
  
•  6	
  copies	
  of	
  Control	
  Files	
  
– 2	
  members	
  in	
  2	
  high	
  redundancy	
  disk	
  groups	
  
•  Thousands	
  of	
  Tablespaces	
  (thus	
  Data	
  Files)	
  
•  Frequent	
  Log	
  switches	
  due	
  to	
  small	
  size	
  
– Think	
  Checkpoints	
  upda[ng	
  SCN	
  on	
  Data	
  Files	
  
and	
  Control	
  Files	
  
Enkitec	
  ©	
  2014	
   39	
  
AWR	
  Demo	
  Conclusions	
  (3)	
  
•  There	
  is	
  usually	
  more	
  than	
  1	
  culprit	
  
– Even	
  when	
  performance	
  is	
  fine	
  
•  Database	
  health-­‐check	
  is	
  like	
  any	
  other	
  
– Early	
  detec[on	
  is	
  preferred	
  
•  Mo_o:	
  “if	
  it	
  ain't	
  broke,	
  don't	
  fix	
  it”	
  
– Really?	
  	
  
– Would	
  you	
  apply	
  this	
  mo_o	
  to	
  your	
  own	
  health?	
  
Enkitec	
  ©	
  2014	
   40	
  
Alert	
  Log	
  
•  As	
  old	
  as	
  Oracle	
  
•  Your	
  friend	
  
•  Like	
  reading	
  your	
  Daily	
  News	
  
•  Watch	
  for	
  ORA	
  errors	
  
– And	
  fix	
  them!	
  
•  Rename	
  every	
  so	
  olen	
  
Enkitec	
  ©	
  2014	
   41	
  
ADDM	
  (1)	
  
•  Automa[c	
  Database	
  Diagnos[c	
  Monitor	
  
•  Requires	
  Oracle	
  Diagnos[cs	
  Pack	
  License	
  
•  Its	
  goal	
  is	
  to	
  reduce	
  DB	
  Time	
  
– Wait	
  and	
  CPU	
  [me	
  of	
  all	
  non-­‐idle	
  user	
  sessions	
  
•  Based	
  on	
  	
  AWR	
  data	
  	
  
– Hourly	
  execu[on	
  by	
  default	
  
Enkitec	
  ©	
  2014	
   42	
  
ADDM	
  (2)	
  
•  Database,	
  Instance	
  or	
  Par[al	
  modes	
  
•  Available	
  via	
  OEM	
  or	
  SQL*Plus	
  
– DBA_ADVISOR_*	
  
– DBA_ADDM_*	
  
•  Be	
  cau[ous	
  with	
  “Advice”	
  
Enkitec	
  ©	
  2014	
   43	
  
ASH	
  (1)	
  
•  Ac[ve	
  Session	
  History	
  (ASH)	
  
•  Requires	
  Oracle	
  Diagnos[cs	
  Pack	
  License	
  
•  Ac[ve	
  Session	
  
– On	
  CPU;	
  or	
  
– Non-­‐idle	
  Wait	
  
Enkitec	
  ©	
  2014	
   44	
  
ASH	
  (2)	
  
•  Snapshot	
  of	
  V$SESSION	
  every	
  second	
  
– V$ACTIVE_SESSION_HISTORY	
  
– Every	
  10	
  seconds	
  on	
  AWR	
  
•  DBA_HIST_ACTIVE_SESS_HISTORY	
  
•  Source	
  of	
  truth	
  
•  Mul[-­‐dimension	
  
Enkitec	
  ©	
  2014	
   45	
  
Enkitec	
  ©	
  2014	
   46	
  
Snapper	
  
•  Free	
  download	
  and	
  use	
  Script	
  
•  Installs	
  nothing	
  
•  Does	
  NOT	
  requires	
  Oracle	
  Diagnos[cs	
  Pack	
  
•  	
  Session	
  centric	
  
– snapper.sql	
  all	
  seconds_in_snap	
  snap_count	
  sid	
  
– @snapper.sql	
  all	
  30	
  1	
  2617	
  
Enkitec	
  ©	
  2014	
   47	
  
Enkitec	
  ©	
  2014	
   48	
  
Enkitec	
  ©	
  2014	
   49	
  
EDB360	
  
Enkitec	
  ©	
  2014	
   50	
  
•  Free	
  download	
  and	
  use	
  Tool	
  
•  Installs	
  nothing	
  
•  360-­‐degree	
  view	
  of	
  an	
  Oracle	
  database	
  
•  Designed	
  to	
  ease	
  a	
  database	
  health-­‐check	
  
•  Pack	
  License?	
  Days?	
  HTML?	
  Txt?	
  CSV?	
  Chart?	
  
•  @edb360.sql	
  T	
  31	
  Y	
  Y	
  Y	
  Y	
  
EDB360	
  Demo	
  
•  11.2.0.3	
  on	
  a	
  barely	
  used	
  Exadata	
  system	
  
•  What	
  do	
  you	
  see?	
  
Enkitec	
  ©	
  2014	
   51	
  
Enkitec	
  ©	
  2014	
   52	
  
Enkitec	
  ©	
  2014	
   53	
  
Enkitec	
  ©	
  2014	
   54	
  
Enkitec	
  ©	
  2014	
   55	
  
Enkitec	
  ©	
  2014	
   56	
  
EDB360	
  Demo	
  Conclusions	
  
•  Configura[on	
  
•  Administra[on	
  
•  Time	
  Model	
  
•  Wait	
  Events	
  
•  AWR	
  +	
  ADDM	
  +	
  ASH	
  Reports	
  
•  Top	
  SQL	
  
Enkitec	
  ©	
  2014	
   57	
  
References	
  
•  Oracle	
  Database	
  Performance	
  Tuning	
  Guide	
  
11g	
  Release	
  2	
  
•  Snapper	
  -­‐	
  Tanel	
  Poder	
  
– h_p://blog.tanelpoder.com/files/scripts/
snapper4.sql	
  
•  h_p://www.enkitec.com/products/edb360	
  
Enkitec	
  ©	
  2014	
   58	
  
Contact	
  Informa[on	
  
•  carlos.sierra@enkitec.com	
  
•  carlos-­‐sierra.net	
  
•  @csierra_usa	
  
Enkitec	
  ©	
  2014	
   59	
  

More Related Content

PDF
OGG Architecture Performance
PDF
How to find what is making your Oracle database slow
PDF
Think Exa!
PPT
OOUG - Oracle Performance Tuning with AAS
PDF
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
PDF
Oracle Performance Tuning Fundamentals
PPTX
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2
PPTX
AWR and ASH Deep Dive
OGG Architecture Performance
How to find what is making your Oracle database slow
Think Exa!
OOUG - Oracle Performance Tuning with AAS
Clone Oracle Databases In Minutes Without Risk Using Enterprise Manager 13c
Oracle Performance Tuning Fundamentals
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 2
AWR and ASH Deep Dive

What's hot (20)

PDF
In Memory Database In Action by Tanel Poder and Kerry Osborne
PPSX
Oracle Performance Tools of the Trade
PDF
Aioug vizag oracle12c_new_features
PDF
Oracle SQL Tuning
PPT
Using AWR for SQL Analysis
PPTX
SQL Tuning made easier with SQLTXPLAIN (SQLT)
PPSX
Oracle Performance Tuning Fundamentals
PDF
Simplifying EBS 12.2 ADOP - Collaborate 2019
PDF
Awr + 12c performance tuning
PDF
Collaborate 2019 - How to Understand an AWR Report
PPTX
Power of the AWR Warehouse
PDF
Performance Tuning intro
PDF
AWR & ASH Analysis
PDF
Oracle Enterprise Manager Cloud Control 12c: how to solve 'ERROR: NMO Not Set...
PPTX
Oracle Performance Tuning Training | Oracle Performance Tuning
PPT
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
PDF
ODTUG Webinar AWR Warehouse
PPT
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
PPTX
Top 10 tips for Oracle performance
PPTX
Understanding my database through SQL*Plus using the free tool eDB360
In Memory Database In Action by Tanel Poder and Kerry Osborne
Oracle Performance Tools of the Trade
Aioug vizag oracle12c_new_features
Oracle SQL Tuning
Using AWR for SQL Analysis
SQL Tuning made easier with SQLTXPLAIN (SQLT)
Oracle Performance Tuning Fundamentals
Simplifying EBS 12.2 ADOP - Collaborate 2019
Awr + 12c performance tuning
Collaborate 2019 - How to Understand an AWR Report
Power of the AWR Warehouse
Performance Tuning intro
AWR & ASH Analysis
Oracle Enterprise Manager Cloud Control 12c: how to solve 'ERROR: NMO Not Set...
Oracle Performance Tuning Training | Oracle Performance Tuning
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
ODTUG Webinar AWR Warehouse
Your tuning arsenal: AWR, ADDM, ASH, Metrics and Advisors
Top 10 tips for Oracle performance
Understanding my database through SQL*Plus using the free tool eDB360
Ad

Viewers also liked (11)

PDF
Monitoring and Tuning Oracle FMW 11g
PPTX
Top 10 tips for Oracle performance (Updated April 2015)
PDF
Double the Performance of Oracle SOA Suite 11g? Absolutely!
PDF
Oracle performance tuning
PDF
Performance in the Oracle Cloud
PDF
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
PPTX
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
PDF
Ebs performance tuning session feb 13 2013---Presented by Oracle
PDF
Oracle R12 EBS Performance Tuning
PDF
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
PDF
Getting optimal performance from oracle e-business suite presentation
Monitoring and Tuning Oracle FMW 11g
Top 10 tips for Oracle performance (Updated April 2015)
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Oracle performance tuning
Performance in the Oracle Cloud
OOW15 - Getting Optimal Performance from Oracle E-Business Suite
Stop the Chaos! Get Real Oracle Performance by Query Tuning Part 1
Ebs performance tuning session feb 13 2013---Presented by Oracle
Oracle R12 EBS Performance Tuning
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Getting optimal performance from oracle e-business suite presentation
Ad

Similar to Oracle Performance Tools of the Trade (20)

PPSX
Introducing the eDB360 Tool
PPSX
Introducing the eDB360 Tool
PPSX
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
PDF
2 Years of Exadata in Production
PDF
Free oracle performance tools
PPTX
Oracle Open World Exadata Monitoring and Management with EM12c
PDF
Winning performance challenges in oracle standard editions
PPTX
SQLT XPLORE: The SQLT XPLAIN hidden child
PPTX
How_to_improve_SQL_Performance_with_new_SQL_Health_Check_Tool.pptx
PDF
Winning performance challenges in oracle standard editions
PPTX
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
PDF
freetools-170503222740.pdforacleeeeeeeee
PPTX
Advanced Database Administration 10g
PDF
Ebs dba con4696_pdf_4696_0001
PDF
Findfixandvalidate 140221013443-phpapp01
PPTX
All of the Performance Tuning Features in Oracle SQL Developer
PDF
Presentation cloud control enterprise manager 12c
PPTX
SQL TUNING 101
PPT
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
PPTX
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Introducing the eDB360 Tool
Introducing the eDB360 Tool
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
2 Years of Exadata in Production
Free oracle performance tools
Oracle Open World Exadata Monitoring and Management with EM12c
Winning performance challenges in oracle standard editions
SQLT XPLORE: The SQLT XPLAIN hidden child
How_to_improve_SQL_Performance_with_new_SQL_Health_Check_Tool.pptx
Winning performance challenges in oracle standard editions
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnost...
freetools-170503222740.pdforacleeeeeeeee
Advanced Database Administration 10g
Ebs dba con4696_pdf_4696_0001
Findfixandvalidate 140221013443-phpapp01
All of the Performance Tuning Features in Oracle SQL Developer
Presentation cloud control enterprise manager 12c
SQL TUNING 101
Oracle Enterprise Manager Cloud Control 12c - Top 10 Features for DBAs
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability

More from Enkitec (20)

PDF
Using Angular JS in APEX
PDF
Controlling execution plans 2014
PDF
Engineered Systems: Environment-as-a-Service Demonstration
PDF
In Search of Plan Stability - Part 1
PDF
Mini Session - Using GDB for Profiling
PDF
Profiling Oracle with GDB
PDF
SQL Tuning Tools of the Trade
PDF
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
PDF
Oracle GoldenGate Architecture Performance
PDF
APEX Security Primer
PDF
How Many Ways Can I Manage Oracle GoldenGate?
PDF
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
PDF
Sql tuning made easier with sqltxplain (sqlt)
PDF
Profiling the logwriter and database writer
PDF
Fatkulin hotsos 2014
PDF
Combining ACS Flexibility with SPM Stability
PDF
Why You May Not Need Offloading
PDF
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
PDF
Creating a Business Oriented UI in APEX
PDF
Colvin RMAN New Features
Using Angular JS in APEX
Controlling execution plans 2014
Engineered Systems: Environment-as-a-Service Demonstration
In Search of Plan Stability - Part 1
Mini Session - Using GDB for Profiling
Profiling Oracle with GDB
SQL Tuning Tools of the Trade
Using SQL Plan Management (SPM) to Balance Plan Flexibility and Plan Stability
Oracle GoldenGate Architecture Performance
APEX Security Primer
How Many Ways Can I Manage Oracle GoldenGate?
Understanding how is that adaptive cursor sharing (acs) produces multiple opt...
Sql tuning made easier with sqltxplain (sqlt)
Profiling the logwriter and database writer
Fatkulin hotsos 2014
Combining ACS Flexibility with SPM Stability
Why You May Not Need Offloading
LOBS, BLOBS, CLOBS: Dealing with Attachments in APEX
Creating a Business Oriented UI in APEX
Colvin RMAN New Features

Recently uploaded (20)

PDF
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PPT
Teaching material agriculture food technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Cloud computing and distributed systems.
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
[발표본] 너의 과제는 클라우드에 있어_KTDS_김동현_20250524.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
Teaching material agriculture food technology
The AUB Centre for AI in Media Proposal.docx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Network Security Unit 5.pdf for BCA BBA.
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Understanding_Digital_Forensics_Presentation.pptx
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
NewMind AI Monthly Chronicles - July 2025
Per capita expenditure prediction using model stacking based on satellite ima...
Review of recent advances in non-invasive hemoglobin estimation
Cloud computing and distributed systems.
Spectral efficient network and resource selection model in 5G networks
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...

Oracle Performance Tools of the Trade

  • 1. Oracle  Performance   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  ©  2014   2  
  • 3. Tools  of  the  Trade   •  OEM   •  AWR   •  ADDM   •  ASH   •  Snapper   •  EDB360   Enkitec  ©  2014   3  
  • 4. OEM   •  Oracle  Enterprise  Manager  (OEM)   – Database  Control   – Grid  Control   •  GUI  Tool  for  System  Monitoring   – Including  Performance   Enkitec  ©  2014   4  
  • 17. Enkitec  ©  2014   17   What  is  wrong?  
  • 22. AWR   •  Automa[c  Workload  Repository  (AWR)   •  Requires  Oracle  Diagnos[cs  Pack  License   •  Set  of  DBA_HIST  views   •  Periodic  Snapshots  (1hr  apart  by  default)   •  7  days  history  (by  default)   Enkitec  ©  2014   22  
  • 23. AWR  Demo   •  Exadata  with  happy  Users  (no  complains)   •  Which  bo_lenecks  you  see?   •  What  is  your  hypothesis?   •  What  would  be  your  ac[on  plan?   Enkitec  ©  2014   23  
  • 38. AWR  Demo  Conclusions  (1)   •  High  Parsing   – Use  of  Literals  instead  of  Bind  Variables   •  Some  subop[mal  SQL  was[ng  CPU  cycles   •  High  Background  Waits  related  to  DBWR   •  Write  Back  Flash  Cache  disabled   – Hard  to  spot!   Enkitec  ©  2014   38  
  • 39. AWR  Demo  Conclusions  (2)   •  6  copies  of  Control  Files   – 2  members  in  2  high  redundancy  disk  groups   •  Thousands  of  Tablespaces  (thus  Data  Files)   •  Frequent  Log  switches  due  to  small  size   – Think  Checkpoints  upda[ng  SCN  on  Data  Files   and  Control  Files   Enkitec  ©  2014   39  
  • 40. AWR  Demo  Conclusions  (3)   •  There  is  usually  more  than  1  culprit   – Even  when  performance  is  fine   •  Database  health-­‐check  is  like  any  other   – Early  detec[on  is  preferred   •  Mo_o:  “if  it  ain't  broke,  don't  fix  it”   – Really?     – Would  you  apply  this  mo_o  to  your  own  health?   Enkitec  ©  2014   40  
  • 41. Alert  Log   •  As  old  as  Oracle   •  Your  friend   •  Like  reading  your  Daily  News   •  Watch  for  ORA  errors   – And  fix  them!   •  Rename  every  so  olen   Enkitec  ©  2014   41  
  • 42. ADDM  (1)   •  Automa[c  Database  Diagnos[c  Monitor   •  Requires  Oracle  Diagnos[cs  Pack  License   •  Its  goal  is  to  reduce  DB  Time   – Wait  and  CPU  [me  of  all  non-­‐idle  user  sessions   •  Based  on    AWR  data     – Hourly  execu[on  by  default   Enkitec  ©  2014   42  
  • 43. ADDM  (2)   •  Database,  Instance  or  Par[al  modes   •  Available  via  OEM  or  SQL*Plus   – DBA_ADVISOR_*   – DBA_ADDM_*   •  Be  cau[ous  with  “Advice”   Enkitec  ©  2014   43  
  • 44. ASH  (1)   •  Ac[ve  Session  History  (ASH)   •  Requires  Oracle  Diagnos[cs  Pack  License   •  Ac[ve  Session   – On  CPU;  or   – Non-­‐idle  Wait   Enkitec  ©  2014   44  
  • 45. ASH  (2)   •  Snapshot  of  V$SESSION  every  second   – V$ACTIVE_SESSION_HISTORY   – Every  10  seconds  on  AWR   •  DBA_HIST_ACTIVE_SESS_HISTORY   •  Source  of  truth   •  Mul[-­‐dimension   Enkitec  ©  2014   45  
  • 47. Snapper   •  Free  download  and  use  Script   •  Installs  nothing   •  Does  NOT  requires  Oracle  Diagnos[cs  Pack   •   Session  centric   – snapper.sql  all  seconds_in_snap  snap_count  sid   – @snapper.sql  all  30  1  2617   Enkitec  ©  2014   47  
  • 50. EDB360   Enkitec  ©  2014   50   •  Free  download  and  use  Tool   •  Installs  nothing   •  360-­‐degree  view  of  an  Oracle  database   •  Designed  to  ease  a  database  health-­‐check   •  Pack  License?  Days?  HTML?  Txt?  CSV?  Chart?   •  @edb360.sql  T  31  Y  Y  Y  Y  
  • 51. EDB360  Demo   •  11.2.0.3  on  a  barely  used  Exadata  system   •  What  do  you  see?   Enkitec  ©  2014   51  
  • 57. EDB360  Demo  Conclusions   •  Configura[on   •  Administra[on   •  Time  Model   •  Wait  Events   •  AWR  +  ADDM  +  ASH  Reports   •  Top  SQL   Enkitec  ©  2014   57  
  • 58. References   •  Oracle  Database  Performance  Tuning  Guide   11g  Release  2   •  Snapper  -­‐  Tanel  Poder   – h_p://blog.tanelpoder.com/files/scripts/ snapper4.sql   •  h_p://www.enkitec.com/products/edb360   Enkitec  ©  2014   58  
  • 59. Contact  Informa[on   •  carlos.sierra@enkitec.com   •  carlos-­‐sierra.net   •  @csierra_usa   Enkitec  ©  2014   59