SlideShare a Scribd company logo
Survey of some free Tools
to enhance your SQL Tuning and Performance
Diagnostics skills
Carlos Sierra
What is Performance Tuning?
Tuning and Performance Diagnostics
SQL Tuning Database Performance
Tuning and Performance Diagnostics
SQL Tuning Database Performance
• One Page
• One Report
• One Program
• One Process
• One Query
• One DML
• Whole Database
• Several Users
• Multiple Transactions
• Certain Times
• Everything is slow!
Tools
SQL Tuning Database Performance
Tools
SQL Tuning Database Performance
• SQL Trace
• AUTOTRACE
• EXPLAIN PLAN FOR
• DBMS_XPLAN
• SQL Monitor
• Snapper
• SQLTXPLAIN a.k.a. SQLT
• SQLd360
• Enterprise Manager – OEM
• AWR
• Active Session History – ASH
• Statspack
• Snapper
• TUNAs360
• eDB360
Cool Free Tools
• Snapper
• TUNAs360
• SQLT
• SQLd360
• eDB360
Cool Free Scripts
• planx
• sqlash
• sqlmon
• sqlpch
Snapper
Snapper
• By Tanel Poder
• Installs nothing
• 10g to 12c
• No dependencies on Diagnostics or Tuning Packs
• Mimics ASH by sampling gv$session
• Samples also
– gv$sesstat, gv$sess_time_model, gv$session_event
Parameters
• Seconds between snaps (i.e. 5)
• Number of snaps (i.e. 12)
• Session IDs to snap
• Many other options
– @snapper ash 5 1 144
– ASH mode, 5 seconds between snaps, one snap only,
on session 144
TUNAs360
TUNAs360
• (TUN)ing with (A)ctive (s)essions
• By Mauro Pagano
• Installs nothing
• 10g to 12c
• No dependencies on Diagnostics or Tuning Packs
• No execution parameters
• Outputs HTML reports and Google Charts
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
SQLT
• By Carlos Sierra, Mauro Pagano and Abel Macias
• Oracle Support standard
• Installs two schemas and several objects
• 10g to 12c
• Inputs one SQL_ID
• Outputs one large HTML report
• Better output having Diagnostics or Tuning Packs
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
SQLd360
• By Mauro Pagano
• Installs nothing
• 10g to 12c
• Inputs one SQL_ID
• Outputs small HTML reports and Google Charts
• Better output having Diagnostics or Tuning Pack
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
eDB360
• By Carlos Sierra
• Installs nothing
• 10g to 12c
• 360-degree view of an entire Oracle Database
• Outputs small HTML reports and Google Charts
• Better output having Diagnostics or Tuning Packs
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
eDB360
• Configuration
• Resources
• DBA stuff
• Storage
• ASM
• Backup and Recovery
• Plan Stability
• CBO Stats
• OS Metrics
• Sessions
• ASH
• AWR
planx
• Inputs one SQL_ID
• Outputs
– SQL Performance
– DBMS_XPLAN
– ASH aggregates
– Indexes
– CBO statistics
sqlash
• Inputs one SQL_ID
• Outputs ASH report
sqlmon
• Inputs one SQL_ID
• Outputs
– SQL Monitor reports list
– Active SQL Monitor report (one per execution)
– Text SQL Monitor report for all executions
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills
sqlpch
• Inputs SQL_ID and list of CBO Hints
– MONITOR, BIND_AWARE, GATHER_PLAN_STATISTICS
• Outputs a SQL Patch
Size
Tool
• SQLT 6.8 MB
• eDB360 4.4 MB
• SQLd360 1.4 MB
• TUNAs360 0.6 MB
Script
• snapper 165 KB
• planx 50 KB
• sqlpch 7 KB
• sqlash 6 KB
• sqlmon 5 KB
SQL Tuning Tools - Ranking
1. SQLd360
2. SQLT
3. Snapper
4. planx
5. sqlmon
6. sqlpch
7. sqlash
Performance Diagnostics Tools - Ranking
1. eDB360
2. TUNAs360
3. Snapper
Summary
• Diagnose one SQL statement
– Use SQLd360, else SQLT
• Diagnose an entire Oracle Database
– Use eDB360, else TUNAs360
• Diagnose one session or set of sessions (or all)
– Use snapper
• Use stand-alone scripts for special or small cases
Questions
References
• Snapper
– http://blog.tanelpoder.com
• TUNAs360 and SQLd360
– https://mauro-pagano.com
• SQLTXPLAIN a.k.a. SQLT: MOS 215187.1
• eDB360 and stand-alone scripts
– https://carlos-sierra.net

More Related Content

What's hot (20)

PDF
SQLd360
Mauro Pagano
 
PDF
Oracle Performance Tuning Fundamentals
Enkitec
 
PPTX
Online index rebuild automation
Carlos Sierra
 
PDF
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Zohar Elkayam
 
PDF
SQL Monitoring in Oracle Database 12c
Tanel Poder
 
PDF
Oracle statistics by example
Mauro Pagano
 
PDF
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder
 
PDF
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder
 
PPT
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
udaymoogala
 
PDF
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
John Beresniewicz
 
PDF
Tanel Poder - Scripts and Tools short
Tanel Poder
 
PPSX
Oracle Performance Tuning Fundamentals
Carlos Sierra
 
PDF
Oracle Database Performance Tuning Concept
Chien Chung Shen
 
PDF
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
Tanel Poder
 
PDF
Oracle db performance tuning
Simon Huang
 
PPTX
SQL Plan Directives explained
Mauro Pagano
 
PDF
Ash architecture and advanced usage rmoug2014
John Beresniewicz
 
PPSX
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
Carlos Sierra
 
PPTX
Oracle SQL Tuning for Day-to-Day Data Warehouse Support
nkarag
 
PDF
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
Tanel Poder
 
SQLd360
Mauro Pagano
 
Oracle Performance Tuning Fundamentals
Enkitec
 
Online index rebuild automation
Carlos Sierra
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Zohar Elkayam
 
SQL Monitoring in Oracle Database 12c
Tanel Poder
 
Oracle statistics by example
Mauro Pagano
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 2
Tanel Poder
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
udaymoogala
 
DB Time, Average Active Sessions, and ASH Math - Oracle performance fundamentals
John Beresniewicz
 
Tanel Poder - Scripts and Tools short
Tanel Poder
 
Oracle Performance Tuning Fundamentals
Carlos Sierra
 
Oracle Database Performance Tuning Concept
Chien Chung Shen
 
Tanel Poder - Troubleshooting Complex Oracle Performance Issues - Part 1
Tanel Poder
 
Oracle db performance tuning
Simon Huang
 
SQL Plan Directives explained
Mauro Pagano
 
Ash architecture and advanced usage rmoug2014
John Beresniewicz
 
How a Developer can Troubleshoot a SQL performing poorly on a Production DB
Carlos Sierra
 
Oracle SQL Tuning for Day-to-Day Data Warehouse Support
nkarag
 
Troubleshooting Complex Oracle Performance Problems with Tanel Poder
Tanel Poder
 

Similar to Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills (20)

PDF
sqltuning101-170419021007-2.pdf
TricantinoLopezPerez
 
PDF
Free oracle performance tools
Rogerio Bacchi Eguchi
 
PDF
Winning performance challenges in oracle standard editions
Pini Dibask
 
PPT
Oracle Sql Tuning
Chris Adkin
 
PPTX
SQL TUNING 101
Alex Zaballa
 
PPTX
SQL TUNING 101
Alex Zaballa
 
PDF
Winning performance challenges in oracle standard editions
Pini Dibask
 
PDF
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
PPTX
שבוע אורקל 2016
Aaron Shilo
 
PDF
DB Optimizer Datasheet - Automated SQL Profiling & Tuning for Optimized Perfo...
Embarcadero Technologies
 
PDF
Oracle Performance Tools of the Trade
Enkitec
 
PPTX
All of the Performance Tuning Features in Oracle SQL Developer
Jeff Smith
 
PPTX
2018 - GUOB Tech Day /Oracle Developer Community LAD Tour 2018 - Tuning DBA ...
Marcus Vinicius Miguel Pedro
 
PDF
MOUG17: SQLT Utility for Tuning - Practical Examples
Monica Li
 
PDF
MOUG17: DB Security; Secure your Data
Monica Li
 
PPT
Les 15 perf_sql
Femi Adeyemi
 
PDF
31063115_1679409488310Developer_Tuning_Tips_-_UTOUG_Mar_2023.pdf
TricantinoLopezPerez
 
PDF
Oracle R12 EBS Performance Tuning
Scott Jenner
 
PDF
SQL Tuning Tools of the Trade
Enkitec
 
PPTX
Advanced Database Administration 10g
Connor McDonald
 
sqltuning101-170419021007-2.pdf
TricantinoLopezPerez
 
Free oracle performance tools
Rogerio Bacchi Eguchi
 
Winning performance challenges in oracle standard editions
Pini Dibask
 
Oracle Sql Tuning
Chris Adkin
 
SQL TUNING 101
Alex Zaballa
 
SQL TUNING 101
Alex Zaballa
 
Winning performance challenges in oracle standard editions
Pini Dibask
 
Exploring Oracle Database Performance Tuning Best Practices for DBAs and Deve...
Aaron Shilo
 
שבוע אורקל 2016
Aaron Shilo
 
DB Optimizer Datasheet - Automated SQL Profiling & Tuning for Optimized Perfo...
Embarcadero Technologies
 
Oracle Performance Tools of the Trade
Enkitec
 
All of the Performance Tuning Features in Oracle SQL Developer
Jeff Smith
 
2018 - GUOB Tech Day /Oracle Developer Community LAD Tour 2018 - Tuning DBA ...
Marcus Vinicius Miguel Pedro
 
MOUG17: SQLT Utility for Tuning - Practical Examples
Monica Li
 
MOUG17: DB Security; Secure your Data
Monica Li
 
Les 15 perf_sql
Femi Adeyemi
 
31063115_1679409488310Developer_Tuning_Tips_-_UTOUG_Mar_2023.pdf
TricantinoLopezPerez
 
Oracle R12 EBS Performance Tuning
Scott Jenner
 
SQL Tuning Tools of the Trade
Enkitec
 
Advanced Database Administration 10g
Connor McDonald
 
Ad

More from Carlos Sierra (6)

PPSX
Introducing the eDB360 Tool
Carlos Sierra
 
PPSX
Introducing the eDB360 Tool
Carlos Sierra
 
PPTX
Understanding How is that Adaptive Cursor Sharing (ACS) produces multiple Opt...
Carlos Sierra
 
PPTX
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Carlos Sierra
 
PPTX
SQL Tuning made easier with SQLTXPLAIN (SQLT)
Carlos Sierra
 
PPTX
SQLT XPLORE: The SQLT XPLAIN hidden child
Carlos Sierra
 
Introducing the eDB360 Tool
Carlos Sierra
 
Introducing the eDB360 Tool
Carlos Sierra
 
Understanding How is that Adaptive Cursor Sharing (ACS) produces multiple Opt...
Carlos Sierra
 
Using SQL Plan Management (SPM) to balance Plan Flexibility and Plan Stability
Carlos Sierra
 
SQL Tuning made easier with SQLTXPLAIN (SQLT)
Carlos Sierra
 
SQLT XPLORE: The SQLT XPLAIN hidden child
Carlos Sierra
 
Ad

Recently uploaded (20)

PPTX
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PPTX
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
PDF
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
PPTX
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PPTX
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
PDF
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
PPTX
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PPT
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PPTX
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
PPTX
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
PDF
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Imma Valls Bernaus
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PPTX
Human Resources Information System (HRIS)
Amity University, Patna
 
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Feb 2021 Cohesity first pitch presentation.pptx
enginsayin1
 
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
Writing Better Code - Helping Developers make Decisions.pptx
Lorraine Steyn
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pdf
Varsha Nayak
 
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
MergeSortfbsjbjsfk sdfik k
RafishaikIT02044
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
MailsDaddy Outlook OST to PST converter.pptx
abhishekdutt366
 
An Introduction to ZAP by Checkmarx - Official Version
Simon Bennetts
 
Understanding the Need for Systemic Change in Open Source Through Intersectio...
Imma Valls Bernaus
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Human Resources Information System (HRIS)
Amity University, Patna
 

Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills

  • 1. Survey of some free Tools to enhance your SQL Tuning and Performance Diagnostics skills Carlos Sierra
  • 3. Tuning and Performance Diagnostics SQL Tuning Database Performance
  • 4. Tuning and Performance Diagnostics SQL Tuning Database Performance • One Page • One Report • One Program • One Process • One Query • One DML • Whole Database • Several Users • Multiple Transactions • Certain Times • Everything is slow!
  • 6. Tools SQL Tuning Database Performance • SQL Trace • AUTOTRACE • EXPLAIN PLAN FOR • DBMS_XPLAN • SQL Monitor • Snapper • SQLTXPLAIN a.k.a. SQLT • SQLd360 • Enterprise Manager – OEM • AWR • Active Session History – ASH • Statspack • Snapper • TUNAs360 • eDB360
  • 7. Cool Free Tools • Snapper • TUNAs360 • SQLT • SQLd360 • eDB360
  • 8. Cool Free Scripts • planx • sqlash • sqlmon • sqlpch
  • 10. Snapper • By Tanel Poder • Installs nothing • 10g to 12c • No dependencies on Diagnostics or Tuning Packs • Mimics ASH by sampling gv$session • Samples also – gv$sesstat, gv$sess_time_model, gv$session_event
  • 11. Parameters • Seconds between snaps (i.e. 5) • Number of snaps (i.e. 12) • Session IDs to snap • Many other options – @snapper ash 5 1 144 – ASH mode, 5 seconds between snaps, one snap only, on session 144
  • 13. TUNAs360 • (TUN)ing with (A)ctive (s)essions • By Mauro Pagano • Installs nothing • 10g to 12c • No dependencies on Diagnostics or Tuning Packs • No execution parameters • Outputs HTML reports and Google Charts
  • 17. SQLT • By Carlos Sierra, Mauro Pagano and Abel Macias • Oracle Support standard • Installs two schemas and several objects • 10g to 12c • Inputs one SQL_ID • Outputs one large HTML report • Better output having Diagnostics or Tuning Packs
  • 20. SQLd360 • By Mauro Pagano • Installs nothing • 10g to 12c • Inputs one SQL_ID • Outputs small HTML reports and Google Charts • Better output having Diagnostics or Tuning Pack
  • 27. eDB360 • By Carlos Sierra • Installs nothing • 10g to 12c • 360-degree view of an entire Oracle Database • Outputs small HTML reports and Google Charts • Better output having Diagnostics or Tuning Packs
  • 31. eDB360 • Configuration • Resources • DBA stuff • Storage • ASM • Backup and Recovery • Plan Stability • CBO Stats • OS Metrics • Sessions • ASH • AWR
  • 32. planx • Inputs one SQL_ID • Outputs – SQL Performance – DBMS_XPLAN – ASH aggregates – Indexes – CBO statistics
  • 33. sqlash • Inputs one SQL_ID • Outputs ASH report
  • 34. sqlmon • Inputs one SQL_ID • Outputs – SQL Monitor reports list – Active SQL Monitor report (one per execution) – Text SQL Monitor report for all executions
  • 38. sqlpch • Inputs SQL_ID and list of CBO Hints – MONITOR, BIND_AWARE, GATHER_PLAN_STATISTICS • Outputs a SQL Patch
  • 39. Size Tool • SQLT 6.8 MB • eDB360 4.4 MB • SQLd360 1.4 MB • TUNAs360 0.6 MB Script • snapper 165 KB • planx 50 KB • sqlpch 7 KB • sqlash 6 KB • sqlmon 5 KB
  • 40. SQL Tuning Tools - Ranking 1. SQLd360 2. SQLT 3. Snapper 4. planx 5. sqlmon 6. sqlpch 7. sqlash
  • 41. Performance Diagnostics Tools - Ranking 1. eDB360 2. TUNAs360 3. Snapper
  • 42. Summary • Diagnose one SQL statement – Use SQLd360, else SQLT • Diagnose an entire Oracle Database – Use eDB360, else TUNAs360 • Diagnose one session or set of sessions (or all) – Use snapper • Use stand-alone scripts for special or small cases
  • 44. References • Snapper – http://blog.tanelpoder.com • TUNAs360 and SQLd360 – https://mauro-pagano.com • SQLTXPLAIN a.k.a. SQLT: MOS 215187.1 • eDB360 and stand-alone scripts – https://carlos-sierra.net