SQL Performance (MOSC)

MOSC Banner

DBMS_AUTO_TASK_IMMEDIATE.GATHER_OPTIMIZER_STATS DOESN'T GATHER TABLE STATISTICS

Dear ,

my database is Oracle Database 12c Enterprise Edition Release 12.2.0.1.0. When i run :DBMS_AUTO_TASK_IMMEDIATE.GATHER_OPTIMIZER_STATS, i find all the tables LAST_ANALYZED date is not updated.

I find all the DBA_TAB_STATISTICS's STATTYPE_LOCKED is null.

any setting can fix it?

Thanks.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center