Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


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


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

   

Linda Webb

Got breaking Oracle news?    Burleson Consulting Oracle News

Click here for more Oracle News Headlines

 


Oracle announces new QBQL utility

In MOSC Note:271064.1 we see that Vadim Tropashko has created two new Oracle utilities, QBQL (pronounced “cubicle” and SQL*Repository. 

From the bulletin: 

What is QBQL?

QBQL is a set of utilities that can be used for SQL performance analysis:

  • enhanced explain plan/run and gather performance statistics (Screen Snapshots)
  • fetch 10053 trace
  • parser
  • file 'diff' - allows comparison of multiple files to find differences

QBQL is a set of JSP pages that can be run on a Web server. It is not necessary to use the SQL*Repository in order to use QBQL functionality on SQL Statements

What is SQL*Repository?

SQL*Repository allows the capture of a set of SQL statements in a SQL repository database. Performance comparisons against the captured SQL statements from the two database environments can be made:

Here is a sample report: 

10: RDBMS_MAIN_SOLARIS_040129; RBO; sql_id between 1 and 300K (Task 15)
vs.
10: RDBMS_MAIN_SOLARIS_040129; CBO; sql_id between 1 and 300K (Task 16)

Parsing Statistics

  • 82291 plans changed out of 288480 statements total ( 28.53%)

  • 5 more statements have parse errors. (There were 71 parse errors before).
     
  • Parse time changed from 10353.946 to 20784.172 for the plans that were changed. (For comparison, for the plans that didn't change the parse times were 13847.714 and 15875.133 correspondingly).

·  5 plans increased the cost.

·  39 plans decreased the cost.

·  For 5881 plans the cost didn't change.
 

Parsing Exceptions

SQL_ID

Exception

  36092  

  java.sql.SQLException:ORA-00979: not a GROUP BY expression  

  64625  

  java.sql.SQLException:ORA-00979: not a GROUP BY expression  

  140246  

  java.sql.SQLException:ORA-00600: internal error code, arguments: [qctfrc : csform], [160], [160], [0], [0], [1], [2], [452]  

  214198  

  java.sql.SQLException:ORA-00600: internal error code, arguments: [qctfrc : csform], [160], [160], [0], [0], [1], [2], [452]  

  252191  

  java.sql.SQLException:ORA-00979: not a GROUP BY expression  

 

Top 5 Parse Time increases (Absolute)

 

SQL_ID

 

 

Task 15 (sec)

 

 

Task 16 (sec)

 

  18441  

  22.547  

  248.438  

  135128  

  4.812  

  81.703  

  249478  

  2.5  

  68.938  

  242591  

  1.5  

  63.515  

  12058  

  .781  

  48.406  

 

Top 5 Parse Time increases (Relative)

 

SQL_ID

 

 

Task 15 (sec)

 

 

Task 16 (sec)

 

  29770  

  0  

  2.11  

  33522  

  0  

  .141  

  257  

  0  

  .125  

  191434  

  0  

  .109  

  254360  

  0  

  .094  

 

Runtime Statistics

  • Executed & collected stats for

    48976

    statements.
  • Total client side execution time changed from

    21459 to 11772 sec.

  • Total CPU time changed from

    19104 to 11942 sec.

  • Buffer gets count changed from

    221037126 to 60602440

    .
  • For

    0

    plans with increased cost
    Total client side execution time changed from

    0 to 0 sec.

  • For

    0

    plans with increased cost
    Buffer gets count changed from

    0 to 0 .

  • For

    28

    plans with decreased cost
    Total client side execution time changed from

    3 to 1 sec.

  • For

    28

    plans with decreased cost
    Buffer gets count changed from

    45239 to 23727.

  • Weighted

    total server side execution time changed from

    23648 to 12864 sec.

  • Weighted

    buffer gets count changed from

    240283339 to 64425145.

 


 

 
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

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

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational