Home > Database > Mysql Tutorial > body text

ORA-00031-标记要终止的会话,在OS一级杀掉进程

WBOY
Release: 2016-06-07 16:00:21
Original
1796 people have browsed it

杀进程的时候报出ORA-00031-标记要终止的会话但是查看v$session视图会话还存在,只是状态改为 killed,并未被真正kill掉

杀进程的时候报出
ORA-00031-标记要终止的会话
但是查看v$session视图会话还存在,只是状态改为 killed,并未被真正kill掉

这时,我们可以从操作系统层杀掉该进程

步骤:
1、根据v$session 中的paddr字段查找对应的spid
select spid from v$process a where a.ADDR='paddr'

2、登录到操作系统Oracle用户,查找对应的进程
ps -ef |grep spid

3、杀掉查到的进程
kill -9 spid

完成后验证一下,,进程确实被杀掉了

本文永久更新链接地址

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template