- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
2#
发表于 2013-2-6 16:03:24
我想快速清除这些Session,应该怎么办? ==> 这些session怎么你了?
查一下给出 结果- select sid,status from v$session where status not in ('ACTIVE','INACTIVE');
- select USED_UBLK,USED_UREC from v$transaction;
- select spid, program from v$process
- where program!= 'PSEUDO'
- and addr not in (select paddr from v$session)
- and addr not in (select paddr from v$bgprocess)
- and addr not in (select paddr from v$shared_server);
复制代码 |
|