Kernel parameters required for SunSolaris to run the Oracle database

Source: Internet
Author: User
This article describes some kernel parameters that need to be set to run Oracle databases on SunSolaris. Sharedmemory: (shared memory segments)

This article describes some kernel parameters required to run Oracle databases on Sun Solaris. Some prerequisites shared memory: (shared memory segments)

This article describes some kernel parameters required to run Oracle databases on Sun Solaris.

Some prerequisites

Shared memory: (shared memory segments)

A memory area can be read by different processes. Oracle uses it to form SGA. Oracle uses the following three methods to create an SGA zone:

1. Use a single shared memory segment.

2. Use multiple consecutive shared memory segments.

3. Use multiple discontinuous shared memory segments.

The first method is preferred for Oracle. If the initialization succeeds, the initialization continues. If the initialization fails, the second method is used. If the initialization fails, the third method is used. If the initialization fails, the initialization fails and the Oracle Reports the error code.

Semaphore: (Semaphore)

It can be seen as a tag. There can be On and Off statuses. Oracle uses semaphores to control the access of server processes to the SGA zone.

Shared memory and semaphore are important resources for Oracle to run on Unix. If an Oracle instance cannot obtain the required resources, the instance will fail to start.

Parameters:

For the Solaris system running an Oracle instance, change some parameters about the shared memory in the/etc/system file so that the Oracle instance can run normally. If there are multiple instances, You need to recalculate some values according to the following method.

Shared Memory:

Shmmax

Meaning: This setting does not determine the actual amount of physical memory used by the Oracle database or operating system. It only determines the maximum amount of memory that can be used. This setting does not affect the kernel resources of the operating system. Max shared memory segment size (SHMMAX) bytes

Setting Method: 0.5 * physical memory

Example: Set shmsys: shminfo_shmmax = 10485760

Shmmin

Description: minimum size of shared memory.

Setting Method: generally set to 1.

Example: Set shmsys: shminfo_shmmin = 1:

Shmmni

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.