View the number of current connections for Oracle __oracle

Source: Internet
Author: User

How do I see the current number of connections to Oracle? Just use the following SQL statement to query.

SELECT * FROM v$session where username 

Is isn't null Select Username,count (username) from
V$session where username is isn't null GROUP by username

To view the number of connections for different users

Select COUNT (*) from v$session 

Number of connections

Select Count (*) from v$session where status= ' ACTIVE ' 

Number of concurrent connections

Show parameter processes 

Maximum Connection

alter system SET processes = value scope = SPFile; 

Restart Database Modify Connection

/home/oracle9i/app/oracle9i/dbs/init.ora/home/oracle9i/app/oracle9i/dbs/spfilexxx.ora 

# # Open_cursor

The above related content is the Oracle current connection number related content Introduction, hoped you can have the harvest.

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.