類型 | 佔用磁盤空間 |
Enterprise Edition | 6.4GB |
Standard Edition | 6.1GB |
Standard Edition One
|
6.1GB |
RAW
|
Swap |
1G至2G | 1.5倍 |
2G至16G | 同RAW相等 |
16G以上 | 16G |
1 # User specific environment and startup programs 2 umask 022 3 4 # +--------------------------+ 5 # | SETUP ORACLE ENVIRONMENT | 6 # +--------------------------+ 7 TMP=/opt/ora/tmp 8 TMPDIR=/opt/ora/tmp 9 export TMP TMPDIR 10 11 ORACLE_HOME=/opt/app/oracle/product/12.1.0/db_1 12 export ORACLE_HOME 13 ORACLE_BASE=/opt/app/oracle 14 export ORACLE_BASE 15 ORACLE_SID=afcsc 16 export ORACLE_SID 17 TNS_ADMIN=$ORACLE_HOME/network/admin 18 export TNS_ADMIN 19 NLS_LANG=AMERICAN_AMERICA.ZHS16GBK 20 export NLS_LANG 21 PATH=$PATH:$ORACLE_HOME/bin 22 export PATH 23 LANG=AMERICAN_AMERICA.ZHS16GBK 24 export LANG 25 # +--------------------------+ 26 # | LINUX STUFF | 27 # +--------------------------+ 28 unset USERNAME
參數 | 值 | 文件 | 命令 |
semmsl
semmns semopm semmni |
250
32000 100 128 |
/proc/sys/kernel/sem
|
# /sbin/sysctl -a | grep sem
|
shmall
|
3435973835 |
/proc/sys/kernel/shmall // 總內存40%
|
# /sbin/sysctl -a | grep shm |
shmmax
|
4294967295 |
/proc/sys/kernel/shmmax
// 最大共享內存,官方文檔建議是內存的1/2 // 個人服務器是8G內存,因此爲8*1024*1024*1024-1 // 值爲4294967295(8G內存/2) |
# /sbin/sysctl -a | grep shm |
shmmni
|
4096
|
/proc/sys/kernel/shmmni
|
# /sbin/sysctl -a | grep shm |
file-max
|
6815744
|
/proc/sys/fs/file-max
|
# /sbin/sysctl -a | grep file-max |
ip_local_port_range
|
9000 65500
|
/proc/sys/net/ipv4/ip_local_port_range
|
# /sbin/sysctl -a | grep ip_local_port_range |
rmem_default |
262144
|
/proc/sys/net/core/rmem_default
|
# /sbin/sysctl -a | grep rmem_default |
rmem_max |
4194304
|
/proc/sys/net/core/rmem_max
|
# /sbin/sysctl -a | grep rmem_max |
wmem_default |
262144
|
/proc/sys/net/core/wmem_default
|
# /sbin/sysctl -a | grep wmem_default
|
wmem_max |
1048576
|
/proc/sys/net/core/wmem_max
|
# /sbin/sysctl -a | grep wmem_max
|
aio-max-nr | 1048576 |
1 oracle soft nproc 2047 2 oracle hard nproc 16384 3 oracle soft nofile 1024 4 oracle hard nofile 65536 5 oracle soft stack 10240 6 oracle hard stack 10240
session required pam_limits.so
879 $(PLSHPROF) : $(ALWAYS) $(PLSHPROF_DEPS) 880 $(SILENT)$(ECHO) 881 $(SILENT)$(ECHO) " - Linking hierarchical profiler utility (plshprof)" 882 $(RMF) $@ 883 $(PLSHPROF_LINKLINE) -lons .... 897 $(RMAN) : $(ALWAYS) $(RMAN_DEPS) 898 $(SILENT)$(ECHO) 899 $(SILENT)$(ECHO) " - Linking recovery manager (rman)" 900 $(RMF) $@ 901 $(RMAN_LINKLINE) -lons
1063 $(TG4PWD) : $(ALWAYS) $(TG4PWD_DEPS) 1064 $(SILENT)$(ECHO) 1065 $(SILENT)$(ECHO) " - Linking $(TG4DG4)pwd utility" 1066 $(RMF) $@ 1067 $(TG4PWD_LINKLINE) -lnnz12