Quantcast
Channel: ITPUB论坛-专业的IT技术社区
Viewing all articles
Browse latest Browse all 18583

定时将inactive的进程kill掉会有哪些副作用?

$
0
0
有时候数据库长时间不能自动释放连接,为防止连接数过多,准备定时删除不活动连接的脚本。 select b.SPID from v$session a,v$process b where a.PADDR=b.ADDR and a.sid in(select sid from v$session where (machine like 'xxx%') and status='INACTIVE'); 然后 ...

Viewing all articles
Browse latest Browse all 18583

Trending Articles