更新 '数据库/oracle/oracle锁表问题.md'
This commit is contained in:
parent
cedd03d142
commit
1fc9024be1
1 changed files with 1 additions and 0 deletions
|
@ -14,6 +14,7 @@ alter system kill session 'SID,SERIAL#';
|
||||||
```
|
```
|
||||||
# 查询处于KILLED状态的进程id
|
# 查询处于KILLED状态的进程id
|
||||||
select b.spid,a.osuser,b.program from v$session a, v$process b where a.paddr=b.addr and a.sid=[SID];
|
select b.spid,a.osuser,b.program from v$session a, v$process b where a.paddr=b.addr and a.sid=[SID];
|
||||||
|
kill -9 SPID
|
||||||
```
|
```
|
||||||
|
|
||||||
## 查询导致锁表的sql
|
## 查询导致锁表的sql
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue