Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Which one is good in terms of performance

Which one is good in terms of performance

From: Seema Singh <oracledbam_at_hotmail.com>
Date: Thu, 23 Dec 2004 15:05:36 -0500
Message-ID: <BAY19-F43577C15B5500D53EEF4AD3A50@phx.gbl>


Hi,

1)
exec dbms_stats.gather_schema_stats(ownname =>'''||username|| ''',degree=>4,cascade =>TRUE,options=>''GATHER STALE''); 2)DBMS_UTILITY.ANALYZE_SCHEMA('USERNAME','COMPUTE'); 3)ANALYZE TABLE <TABLENAME> COMPUTE STATTISTICS FOR ALL INDEXES COLUMNS; Please suggest which is best in case of cost based optimizer in Oracle9i. thanks

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Dec 23 2004 - 14:02:20 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US