数据从外部存入数据库的过程中,程序还设计了一个后台的进程对入库的数据进行一定的操作。请问如何在需要的时候能够结束这个进程?
请各位朋友指点指点

解决方案 »

  1.   

    describe v$session;
    alter system kill session(#id, #number);
      

  2.   

    alter system kill session
      

  3.   

    orakill can do the same and release the resource much faster ( but only works in NT)
      

  4.   

    可以先查看一下这个进程的SID,SERIAL#,先用
    alter system kill session(SID,SERIAL#),
    如果不行就从系统进程里杀,
    例如UNIX里面:
    ps -elf  ————查看当前运行进程信息
    kill -9 进程号   ————取消你需要结束的进程