Free Newsletters:
Database Journal  
DBAnews  

DBASupport

 The Knowledge Center for Oracle Professionals

Search DBAsupport:
 
HOME 11g Central 10g Central 9i Central 8i Central Oracle News Scripts FAQ OCP Zone Resources Technical Docs Tools & Utilities Forums
internet.com

» HOME
» FEATURES
    11g Central
    10g Central
    9i Central
    8i Central
    Oracle News
» COMMUNITY
    Scripts
    Forums
    FAQ
    OCP Zone
» RESOURCES
    Resources
    Technical Docs
    Tools & Utilities
    Tech Jobs

Marketplace Partners
Become a Marketplace Partner


internet.commerce
Be a Commerce Partner












internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


   DBAsupport.com > Oracle > Oracle 8i Central > Featured Stories




Information Technology Auditor (PA)
Next Step Systems
US-PA-Wayne

Justtechjobs.com Post A Job | Post A Resume

DBMS_STATS

The DBMS_STATS package is a godsend for the Oracle DBA in managing database statistics only for the cost based optimizer.

The package itself allows us to create, modify, view and delete statistics from a standard, well-defined set of package procedures. The statistics can be gathered on tables, indexes, columns, partitions and schemas, but note that it does not generate statistics for clusters.

Some of its many features are:

  • Statistics can be computed or estimated from a random sample
  • Can gather statistics for sub-partitions or partitions
  • Whenever possible, dbms_stats routines will run via parallel query or operate serially
  • Statistics can be generated to a statistics table and can be imported or exported between databases and re-loaded into the data dictionary at any time.

This allows the DBA to experiment with various statistics. It is recommended over the analyse command for CBO statistics generation because:

  • analyze always runs serially
  • analyze cant overwrite or delete some statistics generated by dbms_stats
  • statistic generation via analyse for partitions is not optimal, namely for global partition statistics.

Even so, dbms_stats does not generate information about chained rows and the structural integrity of segments. It should also be mentioned that in 8i, certain DDL commands (ie. create index), statistics are automatically generated, therefore eliminating the need to generate statistics explicitly after DDL command. Oracle will determine if statistics are automatically generated based on the expected overhead.

DBMS_OLAP (v8.1.5)

The dbms_olap package provides a series of functions that provide analysis information on your materalised views (summary tables). It provides numerous statistics such as:

  • Cardinalities of fact tables and dimensions
  • Estimate the size of a summary table in bytes and rows
  • Materialized view utilization
  • Recommendations on what views to drop, create or retain
  • Verifies that the relationships in dimensions are correct

Utilization of materialized views is based on statistics from hypothetical workloads generate by Oracle Trace coupled with column cardinality statistics gathered by the analyze command

Please refer to oracle supplied packages documentation for more details about this package.


DBAsupport.com Home Page





internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Whitepapers and eBooks

Intel Whitepaper: Comparing Two- and Four-Socket Platforms for Server Virtualization
IBM Solutions Brief: Go Green With IBM System xTM And Intel
HP eBook: Simplifying SQL Server Management
IBM Contest: Are You the Next Superstar? Join the "Search for the XML Superstar" Contest to Find Out
Microsoft PDF: Top 10 Reasons to Move to Server Virtualization with Hyper-V
Microsoft PDF: Six Reasons Why Microsoft's Hyper-V Will Overtake Vmware
Microsoft Step-by-Step Guide: Hyper-V and Failover Clustering
Intel PDF: Quad-Core Impacts More Than the Data Center
Intel PDF: Virtualization Delivers Data Center Efficiency
Go Parallel Article: PDC 2008 in Review
Microsoft PDF: Top 11 Reasons to Upgrade to Windows Server 2008
Avaya Article: Communication-Enabled Mashups: Empowering Both Business Owners and IT
Intel Whitepaper: Building a Real-World Model to Assess Virtualization Platforms
  PDF: Intel Centrino Duo Processor Technology with Intel Core2 Duo Processor
Microsoft Article: Build and Run Virtual Machines with Hyper-V Server 2008
Go Parallel Article: Q&A with a TBB Junkie
IBM Whitepaper: Innovative Collaboration to Advance Your Business
Internet.com eBook: Real Life Rails
IBM eBook: The Pros and Cons of Outsourcing
Internet.com eBook: Best Practices for Developing a Web Site
IBM CXO Whitepaper: The 2008 Global CEO Study "The Enterprise of the Future"
Avaya Article: Call Control XML in Action - A CCXML Auto Attendant
IBM CXO Whitepaper: Unlocking the DNA of the Adaptable Workforce--The Global Human Capital Study 2008
Adobe Acrobat Connect Pro: Web Conferencing and eLearning Whitepapers
HP eBook: Guide to Storage Networking
MORE WHITEPAPERS, EBOOKS, AND ARTICLES