Home > Ask the Oracle Database / Applications Experts > Data Warehousing, ETL, and business intelligence Questions & Answers > What does the ANALYZE command do?
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

What does the ANALYZE command do?

Ian Abramson EXPERT RESPONSE FROM: Ian Abramson

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 15 September 2004
I am a small child in Oracle. I would like to know what the ANALYZE command does.

>

The ANALYZE command provides Oracle with the ability to collect statistics that are then used by the optimizer. The optimizer MUST have up to date statistics to allow your SQL to perform at its best. You must make sure that your statistics on a table and index are up to date, so you should analyze your tables on a regular basis.

However, before we go much further, you should note that you should use the Oracle supplied package, DBMS_STATS. You should not use the ANALYZE command as it does not deal well with many of the features that tables can utilize today. So please remember to always use DBMS_STATS to analyze your table.

There are lots of books that go into great depth on the subject of using DBMS_STATS and reading explain plans that will provide you with the background for better utilizing this important feature of the Cost Based Optimizer.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Data Warehousing, ETL, and business intelligence
Analyzing an index after rebuild
Speed of low-cost query
Data warehouse based on operational data model
Method other than DB link for large data transfer
Data migration with ETL
Basic steps for implementing a DBMS
Importing 8i dump file to 9i
Using export/import process to clone to data warehouse
Areas of impact while migrating database from 8i to 9i/10g
External tables explained

Oracle data warehousing
Oracle data warehousing tutorial
Oracle's supply chain BI the answer for SaaS provider
Oracle business intelligence guide
BI strategies of Oracle and the megavendors
Exadata: A first look at Oracle's entry into the appliance market
Oracle New Year's resolutions, part 2: GRC tips and customer resolutions revealed
Oracle's Top 8 stories of 2008
IOUG chief discusses OpenWorld, DBA pay and security
Oracle enters the appliance market with Exadata
Tip: Exposing logical attributes with virtual columns

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
multidimensional database  (SearchOracle.com)
operational data store  (SearchOracle.com)
repository  (SearchOracle.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Oracle White Papers: Fusion Middleware
HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts