|
原帖由 leo_jls 于 2008-4-6 23:23 发表 ![]()
我用的是9.2.0.6 的数据库。
...
As I suspected, you were able to run dbms_utility.analyze_database because the version is 9i. Beginning with 10g, ther's a concept of statistics locking, and by default some sys and system owned tables have their statistics already locked. Stats locking prevents you from running analyze_database procedure. (It would be nice for Oracle documentation to warn this.)
Yong Huang |
|