ORA-12519, TNS: no appropriate service handler found

Source: Internet
Author: User

ORA-12519, TNS: no appropriate service handler found

Sometimes it can be connected to the Oracle database, and sometimes it cannot be connected.

It may be that the current number of connections on the Oracle database has exceeded the maximum number it can process.

First, you must use the DBA role to log on.

Select count (*) from v $ process -- current number of connections

Select value from v $ parameter where name = 'processs' -- maximum number of connections allowed by the database

Modify the maximum number of connections:

Alter system set processses = 300 scope = spfile;

Restart the database:

Shutdown immediate;

Startup;

-- View which users are currently using 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.