To modify the maximum number of Oracle connections

Source: Internet
Author: User

1. Ways to modify the maximum number of connections for Oracle

http://my.oschina.net/shootercn/blog/11193

A, landing in SYSDBA status of PL/SQL or Worksheet

Sqlplus SYS as SYSDBA

B, query the current number of connections

Show parameter processes;

C, change the number of system connections

Alter system set processes=1000 Scope=spfile;

D. Create Pfile

Create Pfile from SPFile;

E. Restart the Oracle service or restart the Oracle server

Shutdown immediate; Startup

F. See if the number of connections is modified again.

Show parameter processes;

2. How to query Oracle cursor usage

SELECT * from v$open_cursor where user_name = ' traffic ';

3. How to query Oracle session

SELECT * from V$session;

Sql> Select COUNT (*) from v$session where status= ' ACTIVE '; COUNT (*)----------sql> Select COUNT (*) from v$session; COUNT (*)----------187 sql> show parameter processes; NAME TYPE VALUE---------------------------------------------------------aq_tm_processes integer 0 db_writer_ Processes integer 1 gcs_server_processes integer 0 job_queue_processes integer log_archive_max_processes integer 2 proc Esses integer sql>

Concurrency refers to active,i see

Sql> Select COUNT (*) from v$session; #连接数 sql> Select COUNT (*) from v$session where status= ' ACTIVE '; #并发连接数 sql> show parameter processes; #最大连接 sql> alter system SET processes = value scope = spfile; Restart database #修改连接

To modify the maximum number of Oracle connections

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.