How to modify the settings for the number of Oracle concurrent connections

Source: Internet
Author: User
Tags time interval oracle database

Unable to connect to Oracle database, prompt for related errors

oerr:ora-12519 tns:no appropriate service handler found

Intermittent failure of client connection, error ORA-12519

Cause:the Listener could no available service handlers that are

Appropriate for the client connection.

Action:run "LSNRCTL Services" to ensure the instance (s) have registered

With the listener, and are accepting connections. Check Lsnrctl service, instance has been registered,

When the status shows ready, you can connect.

When the listener believes the current number of connections has reached maximum load,

It may set the state's service handler for a instance to "blocked" and begin refusing

Incoming client connections with either of the following errors:ora-12519 or ora-12516

The use of service dynamic registration, by Pmon through the service_update to the current connection, but service_update have time interval,

Therefore, the number of connections displayed by listener may be different from the current actual number of connections.

Search for solutions:

Check to see if the number of processes in the database has reached the size of the parameter processes.

1.select Count (*) from v$process; Gets the current number of processes for the database.

2.select value from V$parameter where name = ' processes '; Gets the upper limit of the number of processes.

3. If the ceiling has been reached, modify the size of the processes in the Initsid.ora.

4. Restart the database to the Nomount state, execute the Create SPFile from Pfile; and startup Open.

The maximum number of concurrent queries to the database since it was started

To modify the maximum number of connections:

alter system SET processes = Scope = SPFile;

To restart the database:

Shutdown immediate;

Startup

--See which users are currently using the data

SELECT Osuser, a.username,cpu_time/executions/1000000| | ' S ', Sql_fulltext,machine

From V$session A, V$sqlarea b

where a.sql_address =b.address order by cpu_time/executions Desc;

Related Article

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.