Home > Database > Mysql Tutorial > Oracle数据库查找被锁以及解锁的解决办法

Oracle数据库查找被锁以及解锁的解决办法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:19:20
Original
1219 people have browsed it

oracle查找被锁以及解锁 SELECT s.sid||','||s.SERIAL#, s.serial#, s.username, s.schemaname, s.osuser, s.process, s.machine, s.terminal, s.logon_time, l.type FROM v$session s, v$lock l where ((s.sid = l.sid AND s.username IS NOT NULL)) and (t

   oracle查找被锁以及解锁

  SELECT s.sid||','||s.SERIAL#, s.serial#, s.username, s.schemaname, s.osuser, s.process, s.machine,

  s.terminal, s.logon_time, l.type

  FROM v$session s, v$lock l

  where ((s.sid = l.sid

  AND s.username IS NOT NULL))

  and

  (terminal = 'CHINA-C742905EE')

  alter system kill session '383,32773';

  第一条sql是找出被锁,,第二条解锁

Related labels:
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