Home Database Mysql Tutorial ORA-12518: 错误 客户端连接不上

ORA-12518: 错误 客户端连接不上

Jun 07, 2016 pm 02:50 PM
Not on client connect mistake

ORA-12518: 错误 客户端连接不上 解决方案: 第一步:process和session改大 检查process和session a)本机使用连接到oracle,查看process进程数: select count(*) from v$process; –取得数据库目前的进程数。 select value from v$parameter where name =

ORA-12518: 错误 客户端连接不上

解决方案:
第一步:process和session改大

  1. 检查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是否接近上限值。若接近,可以将其增大。

  1. 调整这两个参数值大小。

    这里写图片描述

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下可以在服务里面直接重启服务。

Statement of this Website
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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Unable to complete operation (Error 0x0000771) Printer error Unable to complete operation (Error 0x0000771) Printer error Mar 16, 2024 pm 03:50 PM

Unable to complete operation (Error 0x0000771) Printer error

Solution to Windows Update prompt Error 0x8024401c error Solution to Windows Update prompt Error 0x8024401c error Jun 08, 2024 pm 12:18 PM

Solution to Windows Update prompt Error 0x8024401c error

VMware Horizon client freezes or stalls while connecting [Fix] VMware Horizon client freezes or stalls while connecting [Fix] Mar 03, 2024 am 09:37 AM

VMware Horizon client freezes or stalls while connecting [Fix]

How to connect keep body fat scale How to connect keep body fat scale Mar 07, 2024 pm 04:50 PM

How to connect keep body fat scale

Shared printer cannot connect to printer Shared printer cannot connect to printer Feb 22, 2024 pm 01:09 PM

Shared printer cannot connect to printer

How to connect OnePlus watch to Bluetooth headset_How to connect OnePlus watch to Bluetooth headset How to connect OnePlus watch to Bluetooth headset_How to connect OnePlus watch to Bluetooth headset Mar 23, 2024 pm 01:16 PM

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

Why does the Xiangxiangfuzhai app display an error? Why does the Xiangxiangfuzhai app display an error? Mar 19, 2024 am 08:04 AM

Why does the Xiangxiangfuzhai app display an error?

Linux Oops: Detailed explanation of what this error means Linux Oops: Detailed explanation of what this error means Mar 21, 2024 am 09:06 AM

Linux Oops: Detailed explanation of what this error means

See all articles