oracle 有问题 接数,发现有的时候,EBS会报连接数不足的问题

发现有的时候,EBS会报连接数不足的问题。所以尝试着提高了processes和sessions,EBS安装完之后,数据库init参数processes默认为200,sessions默认为400.这里我把DB的processes和sessions提高到了500和1000。

processes                       = 500    # Max. no. of users x 2

sessions                        = 1000     # 2 X processes

修改完之后,重启DB,参数就会生效。

addbctl.sh stop

addbctl.sh start

查看参数设置

show parameter processes

show parameter sessions

关于Processes和sessions parameters,init.ora有相关描述

#########

#

# Processes and sessions parameters

#

# A database process can be associated with one or more database

# sessions. For all technology stack components other than Oracle

# Forms, there is a one-to-one mapping between sessions and processes.

#

# For Forms processes, there will be one database session per

# open form, with a minimum of two sessions per Forms user (one

# for the navigator form, and one for the active form).

#

# The sessions parameter should be set to twice the value of the

# processes parameter.

#

#########

另外如何查询当下数据的连接数和最大连接数

1.--当前的连接数

2.select count(*) from v$process;  3.--设置的最大连接数(默认值为200)   4.select value from v$parameter where name = 'processes';  5.------------------------------------------------   6.--查看当前的session使用情况   7.SELECT  Count(*) FROM v$session;  8.或

9.SELECT   username, machine, program, status, COUNT (machine) AS  10.FROM v$session  11.GROUP BY username, machine, program, status  12.ORDER BY machine;  13.--查看系统最大session数   14.select value from v$parameter where name = 'sessions';

本篇文章来源于 ocp培训(www.cuug.com)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值