Chinaunix首页 | 论坛 | 博客
  • 博客访问: 685512
  • 博文数量: 176
  • 博客积分: 4791
  • 博客等级: 上校
  • 技术积分: 1921
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-24 18:47
个人简介

it江湖漂,怎能不挨刀;一朝机器当,看你怎么着!

文章分类

全部博文(176)

文章存档

2014年(2)

2012年(17)

2011年(27)

2010年(18)

2009年(6)

2008年(21)

2007年(43)

2006年(42)

分类: LINUX

2006-08-29 14:20:25

1   [root@localhost root]# vi /etc/sysctl.conf
   
        #oracle used
kernel.shmmax = 3221225472
kernel.shmmni = 4096
kernel.shmall = 2097152
kernel.sem    = 250 32000 100 128
fs.file-max   = 327679
net.ipv4.ip_local_port_range = 1024 65000
kernel.shm-use-bigpages = 2

2   [root@localhost root]# vi /etc/grub.conf
 

default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Enterprise Linux AS (2.4.21-4.ELsmp)
        root (hd0,0)
        kernel /vmlinuz-2.4.21-4.ELsmp ro root=LABEL=/ bigpages=4100MB

3     [root@localhost root]# vi /etc/fstab
 
 

LABEL=/data1            /data1                  ext3    defaults        1 2
LABEL=/data2            /data2                  ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   size=3g         0 0
LABEL=/tmp              /tmp                    ext3    defaults        1 2
/dev/sda5               swap                    swap    defaults        0 0

4

The following parameter should be added to the spfile or pfile:
use_indirect_data_buffers=true
Also, any references to db_cache_size and db_xK_cache_size parameters should be removed and replaced with the old style db_block_buffers parameter entry:
# 3Gig for an 8K db_block_size.
db_block_buffers = 393216
由于ORACLE 9I 用的db_cache_size,这样无法扩大内存,所以必须先停用db_cache_size设定为0,而把db_block_buffers打开,设定值为786432!
阅读(1431) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~