ITPUB??ì3
12月微软Hyper-V虚拟化沙龙主题征集
ITPUB论坛 » Oracle数据库管理 » Thomas Kyte 关于"unix system kernel parameters"的回答

标题: Thomas Kyte 关于"unix system kernel parameters"的回答
离线 Fenng
版主


精华贴数 32
个人空间 0
技术积分 53085 (11)
社区积分 6605 (232)
注册日期 2001-12-18
论坛徽章:28
现任管理团队成员2007年度最佳版主生肖徽章2007版:蛇   
      

发表于 2003-8-7 11:04 
Thomas Kyte 关于"unix system kernel parameters"的回答

Tom,

a.    db1 – concurrent users + processes = 410
b.    db2 – concurrents users + processes = 50
c.    db3 – concurrents users + processes = 50

The above three databases are going to be housed on one server.

What is the best way to calculate the kernel parameters based on the above
information ? Is there a formula for each of the kernel parameters? I see the
below values in the preinstallation documentation but they do not specify the
formula? Can you please help me with the formula?

SHMMAX 4294967295
SHMMIN 1
SHMMNI 100
SHMSEG 10
SEMMNS 200
SEMMNI 70
SEMMSL Equal to the value of the PROCESSESinitialization parameter.  

Thanks,
Sing


and we said...


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.
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).

SEMMSL
    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.

SEMMNS
    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


__________________
我的Blog: www.dbanotes.net   

点击即可用 Google Reader 订阅   

支付宝官方Blog

4nyth1n9 th4t can 90 wr0n9 wi11 9o wr0ng  
不想做厨师的裁缝不是好司机
只看该作者    顶部
在线/呼叫 foxmile
蚊子
难得糊涂


精华贴数 0
个人空间 52
技术积分 12595 (95)
社区积分 3562 (392)
注册日期 2004-5-8
论坛徽章:29
数据库板块每日发贴之星2008北京奥运纪念徽章:篮球2008北京奥运纪念徽章:自行车2008北京奥运纪念徽章:跳水2008北京奥运纪念徽章:体操 
      

发表于 2008-5-19 11:39 
别怪俺翻贴。
想知道细致一些,这些参数的设置不当会有什么后果,这些参数在oracle的官方文档里面有没有详细的解释。可否告知文档号。


__________________
疾风知劲草 板荡识诚臣!
我的blog   http://space.itpub.net/?79499
只看该作者    顶部
 
    

相关内容


CopyRight 1999-2006 itpub.net All Right Reserved.
北京皓辰广域网络信息技术有限公司. 版权所有
E-mail:Webmaster@itpub.net
京ICP证:010037号 联系我们 法律顾问