Enable incremental stats collection
-- Check the status of incremental pref
oracle configurationintermediate
by OracleDba
13 views
-- Check the status of incremental pref
123456
select dbms_stats.get_prefs('INCREMENTAL', tabname=>'EMPLOYEE',ownname=>'SCOTT') from dual;
FALSE
SQL> exec DBMS_STATS.SET_TABLE_PREFS('SCOTT','EMPLOYEE','INCREMENTAL','TRUE');
PL/SQL procedure successfully completed.
select dbms_stats.get_prefs('INCREMENTAL', tabname=>'EMPLOYEE',ownname=>'SCOTT') from dual;
TRUEPlease to add comments
No comments yet. Be the first to comment!