Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

Free Oracle Tips

HTML Text

 Home
 E-mail Us
 Oracle Articles



 Oracle Training
 Oracle News

 Oracle Forum
 Class Catalog


 Our Staff
 Our Prices
 Help Wanted!

 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 UNIX
 Oracle UNIX
 Linux
 Oracle Linux
 Monitoring
 Remote help

 Remote plans
 Remote
services
 Oracle C++
 Oracle Java
 Apache
 JDeveloper
 App Server

 Applications
 Oracle Forms
 Oracle Portal
 11i Upgrades
 SQL Server
 Oracle Concepts
 HTML-DB Tips
 Software Help

 Remote Help  
 Development  

 Implementation


 Financials Training
 Oracle 11i
 Oracle Apps 11i
 Oracle Workflow
 Oracle AR 11i Class
 Oracle AP 11i class
 Oracle GL 11i class
 Oracle HR 11i class
 Oracle FA 11i class
 11i Project Mgt
 11i procurement
 11i collections


 Oracle Posters
 Oracle Books

 Oracle Tuning Book
 Oracle RAC Book
 Oracle Security
 Easy Oracle Books
 Oracle Scripts
 SQL Server DBA
 SQL Design Patterns
 WISE
 Excel-DB   


 BC Oracle News


 Rednecks!
 Dress code
 Arabian Stallion

 Burleson Arabians
 Guide Horses
 Don Burleson Blog
 Golf & Travel


 Privacy Policy
 

 

 

 
 

The Oracle Statspack Analyzer

Oracle Tips by Burleson Consulting


Since the dawn of Oracle (circa 1989), Oracle DBA's have struggled to interpret the plethora of statistics that are provided by the Oracle time-series performance reports.  These reports have taken several forms over the years, but the core content has remained identical:

  • bstat-estat reports - Oracle6 through Oracle8
  • STATSPACK reports - Oracle8i to present
  • Automated Workload Repository reports - Oracle 10g

Originally, Oracle's elapsed-time reports were intended solely for Oracle technical supports and they remain full of undocumented performance metrics, page after page of undocumented gobbledygook:

Statistic                             Total     per Second    per Trans
--------------------------------- --------- -------------- ------------
DFO trees parallelized                    1            0.0          0.0
calls to get snapshot scn: kcmgss    55,918           15.5        860.3
calls to kcmgas                       9,929            2.8        152.8
calls to kcmgcs                          59            0.0          0.9
cleanout - number of ktugct calls    11,057            3.1        170.1

The tuning challenge for the Oracle DBA

Every Oracle tuning expert has their own method for reading and interpreting STATSPACK reports, sifting through thousands of lines of details to arrive at a set of valid tuning recommendations.

With the incorporation of the Automated Workload Repository into the database kernel in Oracle 10g, STATSPACK (AWR) reports have become the de-facto standard for Oracle performance reports.  The challenge for the Oracle DBA is to separate the wheat from the chaff and focus on those metrics that are the most important for understanding the nature of the performance problem. 

To see the manual report analysis steps, I've devoted an entire chapter to reading a STATSPACK report in my book "Oracle Tuning: The Definitive Reference".

Interpreting an Oracle STATSPACK/AWR report will always be complex and it's doubtful that anyone will invest the thousands of hours of work required to replicate the analysis of a human expert.

On the other hand, it is possible to create basic decision rules (heuristics) that can be generalized and applied to all STATSPACK and AWR reports.  For a simple example, it's easy to see when an Oracle database has slow disks (latency > 50 ms) and it's always worth noting whenever a tablespace has disk I/O latency that is more than 30% slower than the average I/O speed.

Towards an expert system for automated tuning analysis

There are many applications of expert systems and applied artificial Intelligence with Oracle, but the Oracle community has always desired a software tool that could apply basic decision rules to generic STATSPACK and AWR reports.

Burleson Consulting in conjunction with Texas Memory Systems has taken-on this challenge to build an expert system for intelligent analysis of STATSPACK reported.  The web site (www.statspackanalyzer.org), is the result of hundreds of hours of work by a consortium of Oracle performance tuning experts, all working to create valid decision rules that might be applied to any time-series Oracle report.

A work-in-progress, the StatspackAnalyzer tool is already the best STATSPACK analyzer in the world, and we hope to continue to expand and refine the decision rules as the site sponsors get feedback from actual users and DBA's.

The StatspackAnalyzer already does an excellent job of locating obvious bottlenecks for server resources (disk, RAM, CPU, Network) and it has many sophisticated decision rules for analysis of Oracle internal performance. 

Of course, locating Oracle internal resource bottlenecks is more challenging.  Analyzing a thousand-line report is not trivial, and many dozens of observation points may be required to formulate a decision rule.  Further, the generalization of these complex rules may make them prone to "false positives", the reporting of a non-existent bottleneck.

As the the StatspackAnalyzer effort gains momentum, the team of experts will continuously refine and expand the decision rules, working towards a software solution that will mimic the analysis of a human expert.

Obviously, Statspackanalyzer will never be able to model the intuition of an expert because it's impossible to quantify those "I have a feeling" hunches that distinguish the real experts, but this tool shows great promise as a research tool.

References:


    Need an Oracle Health Check?
  • Do you have bad performance after an upgrade?
     
  • Need to certify that your database follows best practices?

BC Oracle performance gurus can quickly certify every aspect of your Oracle database and provide a complete verification that your database is fully optimized.

 

 

 

 
 
 

Oracle performance tuning book

 

 

Oracle performance tuning software

 
Oracle performance tuning software
 
SearchOracle web site
 
Oracle performance Tuning 10g reference poster
 
Oracle performance tuning webcast
 
Oracle training in Linux commands
 
Oracle training Excel
 
Oracle training & performance tuning books
 

 

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  and include the URL for the page.
 
 


Burleson Consulting

The Oracle of database support


 

Copyright © 1996 -  2007 by Burleson Enterprises, Inc. All rights reserved.

Oracle® is the registered trademark of Oracle Corporation.


Hit Counter