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 -> Question: Comparing stats from ANALYSE and DBMS_STATS

Question: Comparing stats from ANALYSE and DBMS_STATS

From: DW <dwhittier_at_shaw.ca>
Date: 28 Jun 2005 11:45:25 -0700
Message-ID: <1119984325.588999.67260@g47g2000cwa.googlegroups.com>


Hi, all.

I'm in the process of implementing DBMS_STATS and the CBO in our environment.

One of the things I'd like to do is compare the plans which result from the stats generated by DBMS_UTILITY and DBMS_STATS/CBO.

I presume that the structure of the stats in the dictionary is the same regardless of how they are generated. Therefore, it seems reasonable that I could pull out the current stats (generated by DBMS_UTILITY) with the export_database_stats and stick them in a separate table which I'd created with DBMS_STATS.

Is this reasonable? If I want to retain the current dictionary stats, is there a supported means to do this, within the confines of DBMS_UTILITY? I don't see one in the package spec...

Thanks!

Cheers,

DW. Received on Tue Jun 28 2005 - 13:45:25 CDT

Original text of this message

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