Home  >  Article  >  Database  >  ORA-12519数据库连接间接性中断

ORA-12519数据库连接间接性中断

WBOY
WBOYOriginal
2016-06-07 16:45:281135browse

当前的连接数 select count(*) from v$process; 设置的最大连接数(默认值为150) select value from v$parameter where name =

当前的连接数

select count(*) from v$process;

设置的最大连接数(默认值为150)

select value from v$parameter where name = 'processes';

修改最大连接数

alter system set processes = 300 scope = spfile;

当数据库最大连接数不够时会出现客户端连接间歇性失败,报错ORA-12519。

修改Oracle最大连接数的方法

1、 进入“SQL*Plus Worksheet”,

2、 点击“改变数据库连接…”按钮,

3、 进入“数据库连接信息”界面,输入用户名、口令、需要修改最大连接数的数据库服务名,连接身份选择“SYSDBA”,点击“确定”,

4、 输入指令“show parameter processes;”并执行,,查看目前最大连接数,

5、 输入指令“alter system set processes=600 scope=spfile;”并执行,修改最大连接数为600,

6、 输入指令“create pfile from spfile;”并执行,创建Profile,

7、 关闭“Enterprise Manager Console”,重启Oracle服务或重启Oracle数据库服务器

8、 重复操作1、2、3、4步,确认最大连接数修改成功。

在CentOS 6.4下安装Oracle 11gR2(x64)

Oracle 11gR2 在VMWare虚拟机中安装步骤

Debian 下 安装 Oracle 11g XE R2

本文永久更新链接地址:

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn