Home  >  Article  >  Database  >  Oracle进程管理

Oracle进程管理

WBOY
WBOYOriginal
2016-06-07 16:59:04998browse

Oracle查看被锁的表 select p.spid,a.serial#, c.object_name,b.session_id,b.oracle_username,b.os_user_name from v$process p

Oracle查看被锁的表

select p.spid,a.serial#, c.object_name,b.session_id,b.oracle_username,b.os_user_name from v$process p,v$session a, v$locked_object b,all_objects c where p.addr=a.paddr and a.process=b.process and c.object_id=b.object_id

Oracle查看连接的进程

SELECT sid, serial#, username, oSUSEr FROM v$session;

杀掉进程

alter system kill session 'sid,serial#';

linux

Statement:
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