当前位置:首页 > 数据库 > Oracle

oracle基础~linux整体性能优化

  包括三方面 1 sysctl.conf //扩大文件句柄数 fs.aio-max-nr = 1048576 fs.file-max = 6815744 // 扩大共享内存段 影响SGA kernel.shmmax = 4294967295 共享内存段的最大字节尺寸(以字节为单位)推荐设置成内存的80% kernel.shmall = 2097152 全部允许使用的共享内存页大小(页为单位) kernel.shmmni = 4096 每个oracle占用一个共享段,这是最大的共享段数量 不需要调整 kernel.sem = 250 32000 100 128 // 扩大端口范围 默认的范围太小 net.ipv4.ip_local_port_range = 9000 65500 // 扩大 socket的读写缓冲区 net.core.rmem_default = 4194304 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048586 2 /etc/security/limits.conf         Soft: 当前系统生效的设置值(soft限制不能比hard限制高)        Hard:系统中所能设置的最大值       nproc: 操作系统级别对每个用户创建的进程数的限制        nofile: 操作系统级别最大文件打开数        oracle              soft    nproc   2047         oracle              hard    nproc   16384         oracle              soft    nofile  1024         oracle              hard    nofile  65536 3  总结    从文件角度  limits.conf  sysctl,conf    从资源角度  文件打开数 内存共享段 和 socket 缓冲区 进程数量 端口

oracle基础~linux整体性能优化

标签:bsp   推荐   shmmax   max   用户创建   设置   oracl   总结   inux   

本文系统来源:https://www.cnblogs.com/danhuangpai/p/14504596.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐