Skip to content
pvmehta.com

pvmehta.com

  • Home
  • About Me
  • Toggle search form
  • How does one SELECT a value from a table into a Unix variable? From SQL to Shell Linux/Unix
  • Proc code Oracle
  • Session_info.ksh Linux/Unix
  • UTL_FILE test program Oracle
  • TNSNAMES entries details Oracle
  • find_idle_cpu.sql Oracle
  • How to find who is using which Rollback segment and how many rows or blocks in that rollback segments, Oracle
  • Gather Stats manually using DBMS_STATS after disabling DBMS_SCHEDULER jobs as previous entry Oracle
  • Trace a SQL session from another session using ORADEBUG Oracle
  • SYSOPER Mystery Oracle
  • This is from Temi Oracle
  • oracle 10g on linux Linux/Unix
  • The most important Tuning Notes Oracle
  • chk_space_SID.ksh Linux/Unix
  • TABLE SIZING WITH DB_BLOCK ARCHITECTURE Reference : Metalink note : 10640.1 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

  • oracle 10g on linux Linux/Unix
  • scp with ssh2 Linux/Unix
  • on IBM-AIX for display Linux/Unix
  • remove archfiles only when it is applied to DR rm_archfiles.sh Linux/Unix
  • Reading parameter file and printing Linux/Unix
  • Processes parameter and its dependencies on OS kernel parameters 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 (149)
  • MYSQL (5)
  • Oracle (399)
  • PHP/MYSQL/Wordpress (10)
  • POSTGRESQL (1)
  • Power-BI (0)
  • Python/PySpark (7)
  • RAC (17)
  • rman-dataguard (26)
  • shell (150)
  • SQL scripts (347)
  • SQL Server (6)
  • Uncategorized (3)
  • Videos (0)

Recent Posts

  • find_arc.sql09-Apr-2026
  • pvm_pre_change.sql08-Apr-2026
  • find_encr_wallet.sql08-Apr-2026
  • find_pdbs.sql08-Apr-2026
  • Creating a Container Database using dbaascli08-Apr-2026
  • track_autoupgrade_copy_progress.sql01-Apr-2026
  • refre.sql for multitenant01-Apr-2026
  • prepfiles.sh for step by step generating pending statistics files10-Mar-2026
  • tracksqltime.sql05-Mar-2026
  • Complete Git Tutorial for Beginners25-Dec-2025

Archives

  • 2026
  • 2025
  • 2024
  • 2023
  • 2010
  • 2009
  • 2008
  • 2007
  • 2006
  • 2005
  • move_arch_files.ksh Linux/Unix
  • grep multuple patterns Linux/Unix
  • plan10g.sql Oracle
  • catting.sh Linux/Unix
  • Optimizer SORT Operations Oracle
  • get_vmstat_linux Oracle
  • SQL Server: How to see current transactions or requests SQL Server
  • find_err.sql for finding errors from dba_errors. Oracle

Copyright © 2026 pvmehta.com.

Powered by PressBook News WordPress theme