统计信息搜集禁用/启用

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

PL/SQL procedure successfully completed.

SQL> commit;

Commit complete.

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

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

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

posted @ 2019-02-28 18:34  ritchy  阅读(3008)  评论(0编辑  收藏  举报