e股脑电脑教程网
  • 首 页
  • 操作系统
  • 应用软件
  • 下载工具
  • 影音视频
  • 办公软件
  • 媒体制作
  • 网站建设
  • 平面设计
  • 数据库
  • 程序开发
  • 视频教程
编辑推荐: | 文章搜索:
您现在的位置: e股脑 >> 数据库 >> Oracle教程 >> Oracle10gR2安裝 >> 教程正文
 
教程搜索
 
 
相关教程
  • 用Oracle 10g列值掩码技术隐藏敏感数据
  • ORACLE常用Script
  • OracleSupport全球解答的最hot的21个问
  • Oracle 中的OOP概念
  • 过程,函数,程序包
  • 异常和游标管理
  • 集合和成员函数
  • Oracle10gR2安裝
  • SQL 的高级应用
  • Install Oracle on Solaris 8/9/10
  • Install Oracle9 on RedHat
  • Start Console on Oracle9i VS Oracle
  • oracle自动imp脚本
  • Oracle9i连接sybase的透明网关的配置
  • 用裸设备来提高Oracle数据库的性能
  • 从Oracle迁移到SQL Server的陷阱
 
 

图文教程


  • Windows抢了谁的饭碗 非主流操作系统To

  • 地球还是火星 平常心看“非主流”

  • 综合运用Office 2007批量制作奖状

  • 没有系统盘如何才能修复受损系统?

  • 巧妙运用Excel中边界的附加功能!
 
 
赞 助 商
 
 
Oracle10gR2安裝
  • 来源:e股脑
  • 点击次数:
  • 更新时间:2007-8-9

To view the current value specified for these kernel parameters, and to change them if necessary:

  1. Enter commands similar to the following to view the current values of the kernel parameters:

    Note:

    Make a note of the current values and identify any values that you must change.

    ParameterCommandsemmsl, semmns, semopm, and semmni# /sbin/sysctl -a | grep sem

    This command displays the value of the semaphore parameters in the order listed.

    shmall, shmmax, and shmmni# /sbin/sysctl -a | grep shmfile-max# /sbin/sysctl -a | grep file-maxip_local_port_range# /sbin/sysctl -a | grep ip_local_port_rangermem_default# /sbin/sysctl -a | grep rmem_defaultrmem_max# /sbin/sysctl -a | grep rmem_maxwmem_default# /sbin/sysctl -a | grep wmem_defaultwmem_max# /sbin/sysctl -a | grep wmem_max

  2. If the value of any kernel parameter is different from the recommended value, then complete the following steps:

    Using any text editor, create or edit the /etc/sysctl.conf file and add or edit lines similar to the following:


    Note:

    Include lines only for the kernel parameter values that you want to change. For the semaphore parameters (kernel.sem), you must specify all four values. However, if any of the current values are larger than the recommended value, specify the larger value.

    kernel.shmall = 2097152 kernel.shmmax = 2147483648 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 fs.file-max = 65536 net.ipv4.ip_local_port_range = 1024 65000 rmem_default = 262144 rmem_max = 262144 wmem_default = 262144 wmem_max = 262144

    By specifying the values in the /etc/sysctl.conf file, they persist when you restart the system.

    On SUSE systems only, enter the following command to ensure that the system reads the /etc/sysctl.conf file when it restarts:

    # /sbin/chkconfig boot.sysctl on

Set Shell Limits for the oracle User

To improve the performance of the software, you must increase the following shell limits for the oracle user:

Shell LimitItem in limits.confHard LimitMaximum number of open file descriptorsnofile65536Maximum number of processes available to a single usernproc16384

To increase the shell limits:

  1. Add the following lines in the /etc/security/limits.conf file:

    oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536


  2. Add the following line to the /etc/pam.d/login file, if it does not already exist:

    session required /lib/security/pam_limits.so

  3. Depending on the oracle user's default shell, make the following changes to the default shell startup file:

    • For the Bourne, Bash, or Korn shell, add the following lines in the /etc/profile file (or the /etc/profile.local file on SUSE systems):

      if [ $USER = "oracle" ]; then if [ $SHELL = "/bin/ksh" ]; then ulimit -p 16384 ulimit -n 65536 else ulimit -u 16384 -n 65536 fi fi

    • For the C shell, add the following lines in the /etc/csh.login file (or the /etc/csh.login.local file on SUSE systems):

      if ( $USER == "oracle" ) then limit maxproc 16384 limit descriptors 65536 endif

7 Creating Required Directories

Create directories with names similar to the following, and specify the correct owner, group, and permissions for them:

  • The Oracle base directory

  • An optional Oracle data file directory (optional)

The Oracle base directory must have 3 GB of free disk space, or 4 GB of free disk space if you choose not to create a separate Oracle data file directory.


Note:

If you do not want to create a separate Oracle data file directory, then you can install the data files in a subdirectory of the Oracle base directory. However, this is not recommended for production databases.

To create the Oracle base direct

上一页  1 2 3 4 5 6 7 8 9 10 下一页
  • 上一篇教程: SQL 的高级应用
  • 下一篇教程: 集合和成员函数
  •  

    关于本站 | 广告联系 | 版权声明 | 使用帮助

    Copyright © 2004-2008 www.egunao.com All rights reserved.