基于linux台Oracle的安装及日常运维管理(57页).ppt

基于linux台Oracle的安装及日常运维管理(57页).ppt

  1. 1、本文档共57页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于linux台Oracle的安装及日常运维管理(57页)

* * * * * * * * * * * * * * 1、确定是否存在 oracle inventory group:这个组可以共用,并且该组必须是安装软件用户的primary group。 # more /etc/oraInst.loc 2、创建oracle inventory group:# /usr/sbin/groupadd oinstall 3、创建osdba group:# /usr/sbin/groupadd dba To determine whether an Oracle software owner user named oracle exists, enter the following command: # id oracle # /usr/sbin/useradd -g oinstall -G dba[,oper] oracle The -g option specifies the primary group, which must be the Oracle Inventory group, for example oinstall The -G option specifies the secondary groups, which must include the OSDBA group and if required, the OSOPER group. For example, dba or dba,oper Set the password of the oracle user: # passwd oracle * SHMMAX 最大共享内存段尺寸(字节) 250kB + 8.2kB * shared_buffers + 14.2kB * max_connections 或者无穷大 SHMMIN 最小共享内存段尺寸(字节) 1 SHMALL 可用共享内存的总数量(字节或者页面) 如果是字节,就和 SHMMAX 一样;如果是页面,ceil(SHMMAX/PAGE_SIZE) SHMSEG 每进程最大共享内存段数量 只需要 1 个段,不过缺省比这高得多. SHMMNI 系统范围最大共享内存段数量 类似 SHMSEG 加上用于其他应用的空间 SEMMNI 信号灯标识符的最小数量(也就是说,套) = ceil(max_connections % 16) SEMMNS 系统范围的最大信号灯数量 ceil(max_connections / 16) * 17+ 用于其他应用的空间 SEMMSL 每套信号灯最小信号灯数量 = 17 SEMMAP 信号灯映射里的记录数量 参阅文本 SEMVMX 信号灯的最大值 * fs.file-max:系统可以同时打开的文件description的数目 net.ipv4.ip_local_port_range:port range net.core.rmem_default:接收socket的缺省缓存字节 net.core.rmem_max:接收socket的最大缓存字节 net.core.wmem_default :发送的socket缺省缓存字节 net.core.wmem_max:发送的socket最大缓存字节 * 在/etc/security/limits.conf 文件中增加以下条目: oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 在文件/etc/pam.d/login 中增加以下条目: session required /lib/security/pam_limits.so session required pam_limits.so * 查看是否存在inventory directory:# more /var/opt/oracle/oraInst.loc 查看是否存在oracle home directory:# more /etc/oratab * * * * * * * * * * * * * * * * * * * * * * * * col free format 999999999999 col total format 9999999999999 col rt format 999.99 select a.tablespace_name,c.contents type,c.ALLOCATION_TYPE alloc,sum(a.bytes) total,sum(b.bytes) free , sum

文档评论(0)

tonggong82445 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档