Create The World With Creativity
 
Welcome, Guest:Log in | Register | Information Center | Languages | Search | Tags | FAQs | Lite
There was a problem with the request. Check your permission or contact with administrator.




Your Ad Here

Grade this thread

Quote Favorites Report
Starter:  Topic: : Script to Detect bugs on Statistics
R.Wang 
5 Stars
 

Info: Moderator Offline Male
From: Not Specified 
Posts: 323  
Digest 0  
Credits: 57
Money: 1719 $OraclePoint
Registered on 2007-04-20
ProfileProfile BuddyBuddy PMPM Reply Reply QuotesQuotes   1 F 
Script to Detect bugs on Statistics



Oracle Metalink offers a script to detect bugs on statistics at Note: 337096.1. As we all known, statistics gathered by the DBMS_STATS package can not make CBO always choose optimal execution plan, sometime it results to sub-optimal one. For more information on this topic, please refer to my posting at http://www.oraclepoint.com/topic_134
[url=http://www.oraclepoint.com]BRvLEgkSXOraclePointuyoAvoU7L[/url]


Please see description of this script from oracle metalink below.
[url=http://www.oraclepoint.com]dOtNf39dgOraclePoint2i4hkKSwP[/url]


"The VALIDATE_STATS package helps Oracle Support and its customers to detect bugs and limitations of the statistics gathered by the DBMS_STATS package that could cause sub-optimal execution plans.
[url=http://www.oraclepoint.com]zXiNHW3IIOraclePointgdFs7TcKz[/url]

The package will evolve with time to expand its accuracy and detection criteria so check for a new version from time to time.

The package consists of a group of procedures that scan the stats of the tables and indexes located in the same schema where this  package resides. Each procedure validates only one known issue and they can be executed independently and populate the VALIDATE_STATS_RESULTS table with its findings. Each result can be have 1 or more rows in the table."
[url=http://www.oraclepoint.com]VIS2A1vhbOraclePoint71OMqlu4t[/url]


[Lasted edited on 2008-08-15 15:05 R.Wang ]


Tags: metalink scripts 

adbrite
2008-08-15 15:00
  Grade this thread



Similar Threads Forum Author Replies Views Last Post
Provide Oracle Performance Healthcheck
Oracle Tools, Utilities & Scripts Rui 3 8927  2009-06-08 10:24
Oracle Health Checks with Health Monitor; Using PL/SQL or ADR
Oracle Database 11G R.Wang 0 1552  2008-11-17 15:22
Oracle Matalink Database Scripts Index
Oracle Tools, Utilities & Scripts R.Wang 0 2224  2008-08-15 11:28
Trace Analyzer - Analyzing SQL Trace (10046)
Oracle Tools, Utilities & Scripts R.Wang 0 2130  2008-07-22 14:09
Scalability Best Practices: Lessons from eBay
Enterprise Computing and Architecture R.Wang 0 957  2008-07-03 15:06

  Quick Response
Title:
Content:




Upload: Disable
Username:
Password:
  



Recommend to a friend Print Article Mode





 


Powered by BMForum Powered by BMForum 2007 5.6 RSS Feed  
Processed in 0.17086887 second(s),8 queries  
Top