View and modify the maximum number of Oracle Processes

Source: Internet
Author: User

View the maximum number of processes in Oracle:
SQL> select count (*) from v $ session # Number of connections
SQL> Select count (*) from v $ session where status = 'active' # number of concurrent connections
SQL> show parameter processes # maximum connection
SQL> alter system set processes = value scope = spfile; restart the database # modify the connection

One session of a unix user corresponds to an operating system process.
Windows is embodied in the thread

------------------------------------------------------------------------------
Modify the maximum number of ORACLE processes:
Use sys to log on with sysdba permissions:

SQL> show parameter processes;

NAME TYPE VALUE
-----------------------------------------------------------------------------
Aq_tm_processes integer 1
Db_writer_processes integer 1
Job_queue_processes integer 10
Log_archive_max_processes integer 1
Processes integer 150

SQL> alter system set processes = 300 scope = spfile;

The system has been changed.

SQL> show parameter processes;

NAME TYPE VALUE
-----------------------------------------------------------------------------
Aq_tm_processes integer 1
Db_writer_processes integer 1
Job_queue_processes integer 10
Log_archive_max_processes integer 1
Processes integer 150

SQL> create pfile from spfile;

The file has been created.
 

Restart the database,
 
SQL> show parameter processes;

NAME TYPE VALUE
-----------------------------------------------------------------------------
Aq_tm_processes integer 1
Db_writer_processes integer 1
Job_queue_processes integer 10
Log_archive_max_processes integer 1
Processes integer 300
 
Done!

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.