===========================================================
解决最大连接数得问题
===========================================================
作者: weiranjie(http://weiranjie.itpub.net)
发表于: 2008.02.18 11:20
分类:
oracle 技术
出处: http://weiranjie.itpub.net/post/26925/455268
---------------------------------------------------------------
解决最大连接数得问题
查询出哪个程序占用得session 比较多
select program,count(*) from v$session
group by program
order by count(*) desc
杀掉 过期得session
select 'kill -9 '||b.spid
--,a.sid,a.program,a.LOGON_TIME
from v$session a,v$process b
where a.program ='tb-smbc-d@sd_db (TNS V1-V3)' and a.logon_time < to_date('20080216','yyyymmdd')
and a.paddr = b.addr
解决问题得关键还是从应用,
让开发人员看看为啥连接不释放
weiranjie
发表于:2008.02.18 11:20
::分类:
(
oracle 技术
)
::阅读:(16628次)
::
评论
(6)

adipex p
[回复]
myleenclym
评论于: 2010.03.14 09:35

buy xanax no rx
[回复]
violetlazo
评论于: 2010.03.14 10:34

zovirax cream
[回复]
zovirax cream 2009 without zyban taken figure xanax online assumptions email xenical
stauntonla
评论于: 2010.03.14 10:34

nolvadex
[回复]
lodimabigl
评论于: 2010.03.14 10:37

phentermine online
[回复]
jenellager
评论于: 2010.03.14 10:37

valium no prescription
[回复]
salhfordst
评论于: 2010.03.14 10:37