The number of connections to Oracle (sessions) is related to the number of processes (process) in its parameter file, and their relationships are as follows:
Sessions= (1.1*process+5)
But when we increase the number of process numbers, the database does not start. That's because we've also missed a Unix system parameter: It's semmns in/etc/system/, which is the semaphore parameter of the UNIX system. Each process consumes one semaphore. After adjusting the semmns,
The UNIX operating system needs to be restarted for parameters to take effect. However, its size is subject to hardware memory or Oracle SGA. Range
can range from 200--2000.
The Semmns formula is: Semmns>processes+instance_processes+system
Processes= the value of the database parameter processes instance_processes=5 (Smon,pmon,dbwr,lgwr,arch)
The amount of signal consumed by the system= system. The amount of semaphore consumed by the system can be detected by the following command: #ipcs-SB
The column Nsems shows the system has consumed the semaphore.
Some other connection-related parameters, such as Licence_max_sessions, licence_sessions_warning, and so on, are the default settings for
0, which is no limit. We can use the database boldly and confidently.
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