統計信息蒐集禁用/啓用

禁用
1* select LAST_DATE,NEXT_DATE from dba_jobs where job=45
SQL> begin
2 dbms_job.broken(45,true);
3 end;
4 /it

PL/SQL procedure successfully completed.select

SQL> commit;db

Commit complete.dba

SQL> select LAST_DATE,NEXT_DATE from dba_jobs where job=45;co

LAST_DATE NEXT_DATE
------------------- -------------------
2017-01-15 03:00:01 4000-01-01 00:00:00let

啓用
begin
dbms_job.broken(45,false);
end;
/
commit;commit

相關文章
相關標籤/搜索