ADATA



Custer database manual or auto snapshot hangs and never returns:

Bug info:

 

Solution:

sqlplus / as sysdba

SQL>​​ exec dbms_stats.gather_table_stats('SYS','X$KCCFN',no_invalidate=>false);​

​SQL> exec dbms_stats.gather_table_stats('SYS','X$KCCFE',no_invalidate=>false);​

SQL> execute dbms_workload_repository.modify_snapshot_settings (interval => 15, retention => 1576800);

SQL> EXEC DBMS_WORKLOAD_REPOSITORY.create_snapshot;

Step above should fix the issue..