If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I am running gather_database_stats every weekend. Strangely there is one table with its indexes every monday, that aren't analyzed (last_analyzed is null) .
When i manually run gather_schema_stats with options => 'GATHER EMPTY') they all get analyzed.

But after executing this, the indexes are not analyzed.
Information in column Last_analyzed from dba_indexes is not updated.

Solution Description
--------------------
If you are passing only the parameter ownname or NULL for current schema,
ensure that the DBMS_STATS.GATHER_SCHEMA_STAT is executed passing also the
parameter CASCADE=TRUE.