Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: about analyse table..
Just a FYI about Analyzing...
As of Oracle 8i, Oracle recommends using the DBMS_STATS package instead of the ANALYZE command or DBMS_UTILITY procedures. The DBMS_STATS package gathers more statistics than either ANALYZE or the DBMS_UTILITY packages -- potentially resulting in better query performance. In addition, the DBMS_STATS package can parallelize the gathering of statistics, speeding the procss.
Do not mix and match your analyze tool usages!!! ANALYZE cannot overwrite or delete some of the values of statistics that were gathered by DBMS_STATS. This could cause some EXTREMELY bad query performance -- trust me, I know. Been there, done that.
Kevin Toepke
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Toepke, Kevin M INET: ktoepke_at_cms.cendant.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing ListsReceived on Fri Mar 23 2001 - 12:03:23 CST
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
![]() |
![]() |