操作系统是CENTOS5.2
数据库是oracle 10 R2
现在的问题是:
如果用户多连接oracle就会慢下来
processes:300 够用
使用select count(*) from v$session;没有超过过60
SGA:1.5G
以前用的是WENDOWS,设置着2个就能满足需求了
现在改用LINUX,客户端连接数据库的过程就慢了下了
数据库性能没问题!!!
数据库是oracle 10 R2
现在的问题是:
如果用户多连接oracle就会慢下来
processes:300 够用
使用select count(*) from v$session;没有超过过60
SGA:1.5G
以前用的是WENDOWS,设置着2个就能满足需求了
现在改用LINUX,客户端连接数据库的过程就慢了下了
数据库性能没问题!!!
解决方案 »
- 求oracle GBK转UTF8的可行可靠方案!
- 各位大神 小弟求助!!
- Help!获得销量增加的门店的storeid
- 利用存储过程执行插入脚本?
- JDev10g中Business Intelligence Beans的问题?
- ORACLE11G 201 RAC 日志切换很频繁 日志文件没到100M就
- 这个外部键无法删除?
- 为什么不能安装Oracle?怎么样能解决?谢谢
- 求助,ORACLE传递参数的写法
- ORACLE 11GR2 ,建库创建EM , 在85%的时候提示Error securing Database Control, Database Contro
- spfile的问题
- 新手,求一段代码和一段错误提示的解决办法
既然是数据库性能没有问题,那么就是网络的问题了,或者是你的linux系统的问题了吧!你用个工具 测试下从客户端发个包到数据库服务器需要多长时间啊?
kernel.shmmax = 2147483648
kernel.shmmni = 4096
kernel.sem = 250 32000 500 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 1048576
net.core.rmem_max = 1048576
net.core.wmem_default = 262144
net.core.wmem_max = 26214etc/security/limits.conf oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft nofile 65536
oracle hard nofile 65536
oracle soft nproc 16384
oracle hard nproc 16384
oracle hard nproc 16384
这是什么
我的物理内存是2G
Nproc单个用户可用的最大执行绪量oracle hard nofile 65535 对oracle用户文件数量限制是65535个
oracle hard nproc 16384 对oracle用户的process最大16384个2G的物理内存kernel.shmmax应该是2*1024*1024*1024/2我不能肯定这些是你oracle出问题的原因
似乎跟PGA没多大关系
正常
等下测试使用PHP连接如何
就是PHP,当PHP连接数过多是就出问题
ASP连接也是没问题的