Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

ANALYZE_SCHEMA vs GATHER_SCHEMA_STATS

Nicolas GasparottoSep 21 2004 — edited Sep 21 2004
Hi,

What is tyhe difference between DBMS_STATS.GATHER_SCHEMA_STATS and DBMS_UTILITY.ANALYZE_SCHEMA ?

What package make the best work ?

Nicolas.

Comments

The Human Fly
Nicolo,

GATHER_SCHEMA_STATS is the latest version of analyze_schema. basically, both have the same functionality,

you can do index=>cascade with dbms_stats
for global indexes and partitions tables best statsitcs dbms_stats is recommended.

SJH
OCP DBA
Laurent Schneider
PL/SQL Packages and Types Reference 10g Release 1 (10.1)
DBMS_UTILITY
Deprecated Subprograms

Obsolete with Oracle Database Release 10g:

* ANALYZE_DATABASE Procedure
* ANALYZE_SCHEMA Procedure


Regards
Laurent
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 19 2004
Added on Sep 21 2004
2 comments
3,087 views