ORA-12518: 错误 客户端连接不上
Jun 07, 2016 pm 02:50 PMORA-12518: 错误 客户端连接不上 解决方案: 第一步:process和session改大 检查process和session a)本机使用连接到oracle,查看process进程数: select count(*) from v$process; –取得数据库目前的进程数。 select value from v$parameter where name =
ORA-12518: 错误 客户端连接不上
解决方案:
第一步:process和session改大
- 检查process和session
a)本机使用连接到oracle,查看process进程数:
select count(*) from v$process; –取得数据库目前的进程数。
select value from v$parameter where name = ‘processes’; –取得进程数的上限。
b)查看session会话数:
select count(*) from v$session; –取得数据库目前的会话数。
select value from v$parameter where name = ‘sessions’; –取得会话数的上限。
查看当前process和sessions是否接近上限值。若接近,可以将其增大。
-
调整这两个参数值大小。
a) 修改process值
alter system set processes=800 scope=spfile; –将process值改大
b) 修改session值
alter system set sessions=1200 scope=spfile; –将sessions值改大
3. 备份pfile,重启oracle
a) 修改完成后,备份pfile
create pfile from spfile; –从spfile(运行时配置)创建pfile(系统配置)
生成的文件在$ORACLE_HOME/dbs/下边 和spfile在同一个目录下
举例 windows
D:\app\Administrator\product\11.2.0\dbhome_1\database
如果启动有问题的话,可以这样启动,一般不会有问题,放心大胆改吧
startup pfile=’D:\app\Administrator\product\11.2.0\dbhome_1\database\init.ora’;
c) 重启oracle
Windows下可以在服务里面直接重启服务。

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Unable to complete operation (Error 0x0000771) Printer error

Solution to Windows Update prompt Error 0x8024401c error
![VMware Horizon client freezes or stalls while connecting [Fix]](https://img.php.cn/upload/article/000/887/227/170942987315391.jpg?x-oss-process=image/resize,m_fill,h_207,w_330)
VMware Horizon client freezes or stalls while connecting [Fix]

Shared printer cannot connect to printer

How to connect OnePlus watch to Bluetooth headset_How to connect OnePlus watch to Bluetooth headset

Why does the Xiangxiangfuzhai app display an error?

Linux Oops: Detailed explanation of what this error means
