Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: How to use dbms_stats.
>
> I want to know how to how to use dbms_stats. package and get the statistics
>
short answer:
begin
dbms_stats.gather_schema_stats(ownname => 'XXXX',cascade=>true); end;
for a detailed explanation take a look at
http://download-west.oracle.com/otndoc/oracle9i/901_doc/server.901/a87503/stats.htm#26333 http://download-west.oracle.com/otndoc/oracle9i/901_doc/appdev.901/a89852/dbms_sta.htm#999107
hth,
Marin
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Marin Dimitrov INET: marin.dimitrov_at_sirma.bg 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 Thu Mar 07 2002 - 04:23:21 CST
![]() |
![]() |