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!
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
14.
15.
16.
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
18.
19.
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
21.
22.
23.
24.
25.
26.
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
28.
29.
30.
31. eDB360
โข Configuration
โข Resources
โข DBA stuff
โข Storage
โข ASM
โข Backup and Recovery
โข Plan Stability
โข CBO Stats
โข OS Metrics
โข Sessions
โข ASH
โข AWR
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
35.
36.
37.
38. sqlpch
โข Inputs SQL_ID and list of CBO Hints
โ MONITOR, BIND_AWARE, GATHER_PLAN_STATISTICS
โข Outputs a SQL Patch
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