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

Home -> Community -> Usenet -> c.d.o.server -> why people delete statistics bore running statistics

why people delete statistics bore running statistics

From: <dbaplusplus_at_hotmail.com>
Date: 19 Oct 2006 14:11:06 -0700
Message-ID: <1161292266.589252.58610@b28g2000cwb.googlegroups.com>


I am using Oracle 10g r1 on Windows 2000 Server as well as Oracle9i on HP UNIX. 11i
I run following sql to gather staistics:

sys.dbms_stats.gather_schema_stats(ownname=>'SAPPHIRE', cascade=>TRUE);

for SAPPHIRE schema.

I have seen some people delete staistics before running above statement. Won't above statement regenerate the statistics for all tables/indexes, overwriting whatever was there.

Prem Received on Thu Oct 19 2006 - 16:11:06 CDT

Original text of this message

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