OCP-042题库解析-3

You want to monitor and control the resource usage by sessions.You want to be warned automatically when more than 100 sessions are opened with your database.What action would you take to achieve this?
A. Use the Database Resource Manager.
B. Set the limits in the profiles used by users.
C. Modify the SESSIONS initialization parameter.
D. Set the warning threshold for the Current Logons Count metric.
Answer: D

SQL> show parameter license;

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
license_max_sessions                 integer     0
license_max_users                    integer     0
license_sessions_warning             integer     0
设置这3个 就可以

license_max_users 限制被授权使用oracle的人数 到这个数后不能建用户
license_max_sessions达到会话连接的最大数 ,到了后只有 拥有restricted session 权限用户能连接
license_max_warning 就是警告
查v$license ~~~~~可以  设为0 就是无限

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/693532/viewspace-730049/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/693532/viewspace-730049/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值