Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • Insert cause enqueue locks Oracle
  • OEM-Commnds Oracle
  • process id based files and processes Linux/Unix
  • How To Resolve Stranded DBA_2PC_PENDING Entries ID 401302.1 (Very Good prooven) Oracle
  • Find execution plan from dba_hist_sql_plan for a specific SQL_ID and PLAN_HASH_VALUE fplan.sql Oracle
  • To find explain plan for a statement that occurred in past. Oracle
  • backspace in SQL Plus not working then..? Linux/Unix
  • on IBM-AIX for display Linux/Unix
  • AWR license Oracle
  • Find average Row Length and other table size calculation. metalink notes Oracle
  • Histogram Overview Oracle
  • Wait Based Tuning Step by step with SQL statement Oracle
  • Processes Parameter decision Oracle
  • find_pk.sql /* Find Primary Key */ Oracle
  • myfile Oracle

Kernel Parameter setting explaination for Processes Parameter

Posted on 31-Aug-2006 By Admin No Comments on Kernel Parameter setting explaination for Processes Parameter

SHMMAX = The maximum size(in bytes) of a single shared memory segment.

SHMMIN = The minimum size(in bytes) of a single shared memory segment.

The above settings let the max be bigger then we wil ever use and the min much smaller. They are sufficient for pretty much all systems.

SHMMNI = The number of shared memory identifiers.

SHMSEG = The maximum number of shared memory segments that can be attached by a process.

The above settings should also be sufficient.

SEMMNS = The number of semaphores in the system.

Set to the sum of the PROCESSES parameter for each Oracle database the

largest one, plus 2 times the largest PROCESSES value, plus 10 number of Oracle

databases. For example, consider a system that has three Oracle instances with

the PROCESSES parameter in their initsid.ora files set to the following values:

ORACLE_SID=A, PROCESSES=100

ORACLE_SID=B, PROCESSES=100

ORACLE_SID=C, PROCESSES=200

The value of SEMMNS is calculated as follows:

SEMMNS = ((A=100) + (B=100)) + ((C=200) * 2) +

((# of instances=3) * 10) = 630

SEMMNI = The number of semaphore set identifiers in the system;

determines the number of semaphore sets that can be created at any one time.

SEMMSL = The maximum number of sempahores that can be in one

semaphore set. It should be same size as maximum number

of Oracle processes

(The PROCESSES parameter in the init.ora file).

Set to 10 plus the largest initsid.ora PROCESSES parameter of an Oracle

database on the system. The PROCESSES parameter can be found in each

initsid.ora file, loc ORACLE_HOME/dbs directory. The default value of PROCESSES

for the 8.1.5 prebuilt database is 50.

Linux/Unix, shell

Post navigation

Previous Post: sbind.sql Find Bind variable from sql_id sqlid
Next Post: Renaming Global Name GLOBAL_NAME

Related Posts

  • How to change hostname in Linux Linux/Unix
  • note id 373303.1 Linux/Unix
  • prepfiles.sh for step by step generating pending statistics files Oracle
  • Small sample shell program Linux/Unix
  • ipcs -l Linux/Unix
  • chk_space_SID.ksh Linux/Unix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Ansible (0)
  • AWS (2)
  • Azure (1)
  • Django (0)
  • GIT (1)
  • Linux/Unix (150)
  • MYSQL (5)
  • Oracle (403)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (18)
  • rman-dataguard (26)
  • shell (151)
  • SQL scripts (349)
  • SQL Server (6)
  • Uncategorized (5)
  • Videos (0)

Recent Posts

  • Key Management in Oracle: The Core Issue: Missing Master Key12-May-2026
  • SAT Mathematics 10 questions and answer at the end.30-Apr-2026
  • top 10 AI news today30-Apr-2026
  • runon_allpdbs_show_conname.sh23-Apr-2026
  • runon_allcdbs_find_pdbs.sh23-Apr-2026
  • Running PDB on single node in RAC09-Apr-2026
  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • currwait.sql Oracle
  • purge_trc.sh Linux/Unix
  • get_aix_vmstat.ksh Oracle
  • SQL_PLAN.sql for checking real execution plan Oracle
  • Process Map for CPU and Memory for OS processes Linux/Unix
  • How does one overcome the Unix 2 Gig file limit? Linux/Unix
  • cur_sql.sql Oracle
  • perf_today.sql Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme