使用如下的语句来确定每次请求的平均等待时间,监测average wait time per reques这个值,当这个值持续增长时你该考虑增加shared servers了。
select decode(totalq,0,'no requests') "wait time",
wait/totalq ||'hundredths of seconds' "average wait time per request"
from v$queue
where type = 'common'
4、 如何在mts配置的server请求dedicate的连接着?
你在tnsnames.ora中做服务名配置时加入srvr=dedicated这个选项就可以了,示例如下:
billing =
(description =
(
address_list =(address = (protocol = tcp)(host = ks3)(port = 1521))
)
(
connect_data =
(service_name = billing)