Database-Oracle
baidu_25374645
这个作者很懒,什么都没留下…
展开
-
JOB管理
1.SELECT WHAT,INTERVAL,LAST_DATE,NEXT_DATE,JOB,BROKEN FROM DBA_JOBS ORDER BY 1; 2.如BROKEN=N BEGIN DBMS_JOB.NEXT_DATE(3, SYSDATE+(5/24/60/60));END; BEGIN DBMS_JOB.NEXT_DATE(10,SYSDATE+(5/2原创 2015-01-16 15:37:28 · 160 阅读 · 0 评论 -
查找、kill 死鎖進程
1.锁表查询:SELECT object_name, machine, s.sid, s.serial# FROM gv$locked_object l, dba_objects o, gv$session s WHERE l.object_id = o.object_id AND l.session_id = s.sid; 2.释放SESSION SQL: --alter sy原创 2015-01-16 15:10:58 · 170 阅读 · 0 评论