一、环境
Oracle 11.2.0.4
Rhel 6.6
二、修改tmpfs
数据库安装完成之后,需要修改很多参数,包括数据库参数和系统参数,操作系统必须修改参数之一。
按照操作系统60%到80%进行改动。
[root@roidb01 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 36G 17G 18G 49% /
tmpfs 2.0G 235M 1.8G 12% /dev/shm
/dev/sda1 190M 32M 149M 18% /boot
[root@roidb01 ~]# free -m
total used free shared buffers cached
Mem: 3959 1253 2706 238 28 857
-/+ buffers/cache: 367 3592
Swap: 4095 0 4095
[root@roidb01 ~]#
[root@roidb01 ~]#
[root@roidb01 ~]#
[root@roidb01 ~]# vi /etc/fstab
#
# /etc/fstab
# Created by anaconda on Fri Sep 15 15:36:11 2017
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
UUID=c554e888-d7c8-4954-9cde-51638abe23b7 / ext4 defaults 1 1
UUID=73078377-c31b-4bd8-8bd6-652fae65a5b8 /boot ext4 defaults 1 2
UUID=766af6f8-99a2-4915-9f64-b8e96fbb4404 swap swap defaults 0 0
tmpfs /dev/shm tmpfs defaults,size=3000m 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
~
~
~
"/etc/fstab" 15L, 805C written
[root@roidb01 ~]# mount -o remount /dev/shm
[root@roidb01 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 36G 17G 18G 49% /
tmpfs 3.0G 236M 2.7G 8% /dev/shm
/dev/sda1 190M 32M 149M 18% /boot
[root@roidb01 ~]#