可以通过命令KILL
1.select username,status,sid,serial# from v$session where username is not null;2.alter system kill session 'sid,serial#'
1.select username,status,sid,serial# from v$session where username is not null;2.alter system kill session 'sid,serial#'
我想找出产生 pseudo session 的原因。
结果几个小时的努力,把产生pseudo session的情况找出来了。
是一个exception没有抓住、处理,导致外层的connection没有terminate就跳出来了。