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

Home -> Community -> Mailing Lists -> Oracle-L -> Re[2]: DBMS_UTILITY ?

Re[2]: DBMS_UTILITY ?

From: <dgoulet_at_vicr.com>
Date: Tue, 13 Mar 2001 06:33:55 -0800
Message-ID: <F001.002CAD3C.20010313064025@fatcity.com>

I would recommend that you get a copy of O'Reilly's "Oracle Built-in Packages". It's available at Borders & Barnes & Nobel to mention a few. It does a very good job of documenting that which Oracle decided not to.

Dick Goulet

PS: There's a pocket reference too, mine is VERY beat up from use.

____________________Reply Separator____________________
Author: G.Plivna_at_itsystems.lv
Date:       3/13/2001 1:15 AM


You can get this from source or install scripts.

Gints

procedure analyze_schema(schema varchar2, method varchar2,

    estimate_rows number default null,
    estimate_percent number default null, method_opt varchar2 default null);

                    "Bunyamin                                                   
                                      
                    K.Karadeniz"             To:     Multiple recipients of list
ORACLE-L <ORACLE-L_at_fatcity.com>       
                    <bunyamink_at_havels        cc:                                
                                      
                    an.com.tr>               Subject:     DBMS_UTILITY ?        
                                      
                    Sent by:                                                    
                                      
                    root_at_fatcity.com                                            
                                      
                                                                                
                                       
                                                                                
                                       
                    01.03.13 11:00                                              
                                      
                    Please respond to                                           
                                      
                    ORACLE-L                                                    
                                      
                                                                                
                                       
                                                                                
                                       




dbms_utility.analyze_schema ( '&OWNER', 'ESTIMATE', NULL, 5 ) ;

  1. wHAT DOES THAT PROCEDURE DO? I could not find it in the documentation. Does it analyze all tables in a given user.?? I mean Does it do the below?
  2. Then what is NULL and 5 is used for ?

Analyze table scott.xxx estimate statistics; // repeating for all tables of user.

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: G.Plivna_at_itsystems.lv

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: dgoulet_at_vicr.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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).
Received on Tue Mar 13 2001 - 08:33:55 CST

Original text of this message

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