本文共 239 字,大约阅读时间需要 1 分钟。
自己今天写了一个存储过程,本想进行测试,结果由于数据量太大(1000W),执行了好几个小时过程,都没有结束,所以想将数据量限制一下,重新测试。按正常的取消方式一时半会也取消不了。。。最终通过脚本取消:
SELECT * FROM V$ACCESS O WHERE O.OBJECT LIKE 'TEST111%';SELECT * FROM V$SESSION A WHERE A.SID=442;ALTER SYSTEM KILL SESSION 'SID,SERIAL#';
转载地址:http://xewxi.baihongyu.com/