System kernel parameters to be configured for Oracle Installation

Source: Internet
Author: User
When installing the Oracle database, Oralce needs to set the following system kernel parameters, which are described below (the parameter values are kept in the etcsysctl file ).

When installing the Oracle database, Oralce needs to set the following system kernel parameters, which are described below (the parameter values are kept in the file/etc/sysctl

When installing the Oracle database, you need to set the following system kernel parameters for Oralce propulsion. These parameters are briefly described as follows (the parameter values are kept in the file/etc/sysctl. conf)

Kernel. shmmax: the maximum size (in bytes) of the shared memory segment ).
Kernel. shmmni: Maximum number of shared memory segments in the system.
Kernel. shmall: Total shared memory, in pages.
Fs. file-max: number of file handles, indicating the number of files that can be opened in Linux.
Net. ipv4.ip _ local_port_range: IPv4 port range that can be used by the application.

Kernel. shmmax
Oracle SGA is composed of shared memory. If the SHMMAX setting is incorrect, it may limit the size of the SGA, and insufficient SHMMAX settings may cause the following problems: ORA-27123: unable to attach to shared memory segment, if this parameter is smaller than the Oracle SGA setting, SGA will be allocated with multiple shared memory segments. This may be a performance burden in a busy system and cause system problems. Oracle recommends that Kernel. shmmax be better than sga to make the oracle shared memory SGA in a shared memory segment to improve performance.

Kernel. shmall
The total size of the system shared memory, in pages. A 32-bit Linux system with 8 GB memory can be configured with kernel. shmall = 2097152, that is: 2097152*4 k/1024/1024 = 8G, that is, a total of 8 GB of available shared memory, here 4 k is the size of a 32-bit operating system page, that is, 4096 bytes.


Kernel. shmmni
The maximum number of shared memory segments in the system. The default value is 4096, which does not need to be modified. The Kernel. shmmin parameter is also available in sun OS, indicating the minimum size of the shared memory segment.

You can modify/proc/sys/kernel/shmmax to configure the preceding parameters, for example:
# Echo 1073741824>/proc/sys/kernel/shmmax, but it will be reset after the system is restarted. To make the modification take effect permanently, you need to go to/etc/sysctl. add the Kernel in the conf file. shmmax = 1073741824, where 1G is set.

-- The End --

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.