- 浏览: 116182 次
文章分类
客户端无法连接数据库,报错ORA-12537,此时登录EM后,显示监听正常,Agent失败
没找到原因,后来可以连接之后,看到processes数量为147,最大值为默认的150。怀疑与此相关,于是改之。
改最大进程数的步骤:
来源 http://www.blogjava.net/zyb9114/archive/2007/12/24/169986.html
查看ORACLE最大进程数:
SQL> select count(*) from v$session #连接数
SQL> Select count(*) from v$session where status='ACTIVE' #并发连接数
SQL> show parameter processes #最大连接
SQL> alter system set processes = value scope = spfile;重启数据库 #修改连接
unix 1个用户session 对应一个操作系统 process
而 windows体现在线程
------------------------------------------------------------------------------
修改ORACLE最大进程数:
使用sys,以sysdba权限登录:
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
job_queue_processes integer 10
log_archive_max_processes integer 1
processes integer 150
SQL> alter system set processes=300 scope = spfile;
系统已更改。
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
job_queue_processes integer 10
log_archive_max_processes integer 1
processes integer 150
SQL> create pfile from spfile;
文件已创建。
重启数据库,
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
job_queue_processes integer 10
log_archive_max_processes integer 1
processes integer 300
搞定!
没找到原因,后来可以连接之后,看到processes数量为147,最大值为默认的150。怀疑与此相关,于是改之。
改最大进程数的步骤:
来源 http://www.blogjava.net/zyb9114/archive/2007/12/24/169986.html
查看ORACLE最大进程数:
SQL> select count(*) from v$session #连接数
SQL> Select count(*) from v$session where status='ACTIVE' #并发连接数
SQL> show parameter processes #最大连接
SQL> alter system set processes = value scope = spfile;重启数据库 #修改连接
unix 1个用户session 对应一个操作系统 process
而 windows体现在线程
------------------------------------------------------------------------------
修改ORACLE最大进程数:
使用sys,以sysdba权限登录:
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
job_queue_processes integer 10
log_archive_max_processes integer 1
processes integer 150
SQL> alter system set processes=300 scope = spfile;
系统已更改。
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
job_queue_processes integer 10
log_archive_max_processes integer 1
processes integer 150
SQL> create pfile from spfile;
文件已创建。
重启数据库,
SQL> show parameter processes;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
aq_tm_processes integer 1
db_writer_processes integer 1
job_queue_processes integer 10
log_archive_max_processes integer 1
processes integer 300
搞定!
发表评论
-
How-to Install Oracle 12c Database on CentOS 6.X 64bit
2014-04-29 03:21 963http://blog.csdn.net/chncaesar ... -
char类型补空格引发的案子
2013-06-17 10:24 1390不多说,都懂的: create table test( c ... -
ORA-28547: 连接服务器失败, 可能是 Oracle Net 管理错误
2013-06-14 15:37 1875问题描述:Navicat 10.0.10 Premium 连 ... -
[转]"ORA-22992: 无法使用从远程表选择的 LOB 定位器"解决方法
2013-06-09 11:06 2554转载自http://blog.csdn.net/weikaif ... -
Oracle通过EM查看具体SQL的执行计划和统计信息
2013-05-27 18:33 1279tableA.columnB上建索引 执行查询 select ... -
windows oracle 11.2.0.1.0 dump blob 到 windows oracle 10.2.0.1.0
2013-05-17 12:02 764source_server expdp src_usr/pwd ... -
[转载]dg v.s. streams v.s. gg
2013-05-06 16:02 781Tom Said: As for setting up the ... -
解决Oracle TEMP临时表空间数据文件过大
2013-05-06 10:11 1700create temporary tablespace tem ... -
万恶的隐式数据类型转换
2013-04-26 17:23 11232年前上线的系统了,运 ... -
oracle 11.2.0.1 result_cache
2013-04-25 04:27 748alter system set result_cache_m ... -
oracle 重启
2013-04-25 04:23 0重启em emctl stop dbconsole emctl ... -
[转载]ORA-01810: format code appears twice
2013-04-10 17:22 1086遇到报错,ORA-01810: format code app ... -
修改sysman和dbsnmp密码后,EM无法启动
2013-04-10 16:17 2765昨天登陆EM后提示sysman与dbsnmp用户密码过期,在该 ... -
[整理]一行变多行(Oracle)
2013-04-10 10:27 2522来源:http://www.itpub.net/thread- ... -
获取行号
2013-04-10 10:10 836MySQL select @rownum:=@rownum+1 ... -
行转列,列转行
2013-04-09 10:23 854SQL Server http://www.cnblogs.c ... -
多行(结果集)拼接字符串 (多行变一行)
2013-04-09 10:18 1907SQL Server版: select stuff( ... -
ORA-28000: the account is locked
2013-04-02 19:39 908ORA-28000: the account is locke ... -
Oracle11gR2导出数据并导入到10g IMP-00010;ORA-39142
2013-03-25 14:44 2137同事将11.2.0.1的数据导出,导入到10.2.0.1,遇到 ... -
[转载]使用 RMAN 同步数据库
2013-03-19 10:46 853http://blog.chinaunix.net/uid-7 ...
相关推荐
oracle网络配置(listener_ora-sqlnet_ora-tnsnames_ora).mht
Oracle 11gr2连Oracle 19c 报ORA-28040 ORA-01017解决方法
oracle启动失败,ORA-00702报错,windows,linux系统下解决办法
NULL 博文链接:https://loveboth.iteye.com/blog/1520655
oracle数据库ora-01152和ora-01110的解决办法
ORACLE ORA-00132 ORA-00214
错误描述:oracle远程连接服务器出现 ORA-12170 TNS:连接超时 错误检查:有很多是oracle自身安装的问题,但是我这里服务器配置正常,监听正常,服务正常,远程可以ping通服务器。 这里主要是防火墙问题,解决办法: ...
ora-01033:oracle initialization or shutdown in progress 解决方法 ora-01033:oracle initialization or shutdown in progress 解决方法 ora-01033:oracle initialization or shutdown in progress 解决方法 ora-...
Oracle_ORA-12518故障_处理,希望在此与大家分享,能够在实际的工作中提高解决问题的能力
客户端进行连接的时候,系统不定期出现ora-12520,ora-12516的连接问题, 问题解决方案建议: 1、增加process和session的连接数。 2、检查连接的应用,是不是有没有释放的连接。 3、将修改参数local_listener中的vip为...
使用工具IMPDP导入数据时ORA-39002、ORA-39070错误排查。使用工具IMPDP导入数据时ORA-39002、ORA-39070错误排查 使用工具IMPDP导入数据时ORA-39002、ORA-39070错误排查
解决ORA-01033 ORACLE 正在初始化或关闭
ora-00604 错误 解决 方法 ora-00604 错误 解决 方法 ora-00604 错误 解决 方法 ora-00604 错误 解决 方法 ora-00604 错误 解决 方法ora-00604 错误 解决 方法
oracle中表空间、权限、角色、用户的总结,其中包括表空间的建立,权限的配置,角色的生成和用户的挂接
kettle连接oracle12C--报错ORA-28040 没有匹配的验证协议
Drop goldengate用户时,报ORA-00604 ORA-20782 ORA-06512错误
数据库导致连接出现异常的解决办法整理,这是 oracle连接问题的具体解决方案
用oracle数据库新建连接时遇到ora-12505,此问题解决后又出现ora-12519错误,郁闷的半天,经过一番折腾问题解决,下面小编把我的两种解决方案分享给大家,仅供参考。 解决方案一: 今天工作时在新建连接的时候遇到...
Oracle Database on Linux Fails to Start - ORA-27154 ORA-27300 ORA-27301 ORA-27302: failure occurred at: sskgpbitsper (Doc ID 2789636.1)