ORA-12518: Error Client Connection Failed

Source: Internet
Author: User
ORA-12518: Error Client Connection Failed solution: Step 1: process and session change large check process and sessiona) local use to connect to oracle, view process count: selectcount (*) fromv $ process; -obtain the current number of processes in the database. Selectvaluefromv $ parameterwherename

ORA-12518: Error client connection failure solution: Step 1: process and session change large check process and session a) local use to connect to oracle, view process count: select count (*) from v $ process;-obtains the current number of processes in the database. Select value from v $ parameter where name =

ORA-12518: Error Client Connection Failed

Solution:
Step 1: process and session increase

  1. Check process and session


A) the local machine is connected to oracle to view the number of process processes:

Select count (*) from v $ process;-obtains the current number of processes in the database.

Select value from v $ parameter where name = 'processs';-obtain the maximum number of processes.


B) view the number of session sessions:

Select count (*) from v $ session;-obtains the current number of sessions of the database.

Select value from v $ parameter where name = 'session';-the upper limit of the number of sessions is obtained.

Check whether the current process and sessions are close to the upper limit. If it is close, you can increase it.

  1. Adjust the values of these two parameters.

A) modify the process value.
Alter system set processes = 800 scope = spfile;-increase the process value
B) modify the session Value
Alter system set sessions = 1200 scope = spfile;-increase the sessions value.

3. Back up pfile and restart oracle

A) Back up pfile after modification.
Create pfile from spfile;-create pfile (system configuration) from spfile (runtime configuration)

The generated file is in the same directory as the spfile under $ ORACLE_HOME/dbs /.

Windows
D: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ database

If there is a problem with the startup, you can start it like this. Generally, there will be no problems. Feel free to change it.

Startup pfile = 'd: \ app \ Administrator \ product \ 11.2.0 \ dbhome_1 \ database \ init. ora ';

C) Restart oracle
In Windows, you can directly restart the service in the service.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.