Oracle数据库数据恢复、性能优化

找回密码
注册
搜索
热搜: 活动 交友 discuz
发新帖

0

积分

1

好友

48

主题
1#
发表于 2015-5-28 13:58:35 | 查看: 3310| 回复: 2
oracle 10g database在linux安装时,设定oracle用户limit时:为何在pam模组里面添加了limit限制然后又要在login shell里面修改呢,这样相互的设定会被影响。经过测试login shell的设定会覆盖pam模组的设定
那为何操作手册还要设定两次limit呢

以下是oracle 10g 的linux安装手册原文
  1. To increase the shell limits:
  2. 1. Add the following lines to the /etc/security/limits.conf file:
  3. oracle soft nproc 2047
  4. oracle hard nproc 16384
  5. oracle soft nofile 1024
  6. oracle hard nofile 65536
  7. 2. Add or edit the following line in the /etc/pam.d/login file, if it does not
  8. already exist:
  9. session required /lib/security/pam_limits.so
  10. session required pam_limits.so
  11. 3. Depending on the oracle user's default shell, make the following changes to the
  12. default shell start-up file:
  13. ■ For the Bourne, Bash, or Korn shell, add the following lines to the
  14. /etc/profile file (or the file on SUSE systems)/etc/profile.local:
  15. if [ $USER = "oracle" ]; then
  16. if [ $SHELL = "/bin/ksh" ]; then
  17. ulimit -p 16384
  18. ulimit -n 65536
  19. else
  20. ulimit -u 16384 -n 65536
  21. fi
复制代码
2#
发表于 2015-12-1 13:46:24
安装的初始化参数设置很关键,前面没花时间把关好,后面出问题来处理更耗时。

回复 只看该作者 道具 举报

3#
发表于 2016-2-4 15:59:21
学习了学习了

回复 只看该作者 道具 举报

您需要登录后才可以回帖 登录 | 注册

QQ|手机版|Archiver|Oracle数据库数据恢复、性能优化

GMT+8, 2024-5-17 17:50 , Processed in 0.049219 second(s), 20 queries .

Powered by Discuz! X2.5

© 2001-2012 Comsenz Inc.

回顶部
TEL/電話+86 13764045638
Email service@parnassusdata.com
QQ 47079569