ORA-01925:maximum of 80 enabled roles exceeded

max_enabled_roles 9i的參数,10g及以后都不用了。
指定用户session的最大enabled roles数。


MAX_ENABLED_ROLES specifies the maximum number of database roles that users can enable, including roles contained within other roles. The actual number of roles that users can enable is 2 plus the value of MAX_ENABLED_ROLES,
because each user has two additional roles, PUBLIC and the user's own role.
For example, if MAX_ENABLED_ROLES is set to 5, then user HR can have seven roles enabled (the five enabled by MAX_ENABLED_ROLES, plus PUBLIC and HR).


查查系统用得比較多role的用户,但这样查出来,还不包含以role授予给role再授予用户的嵌套情况
select grantee,count(*) from dba_role_privs group by grantee order by count(*) desc;

也能够直接查当前会话enable的role数量
select count(*) from session_roles;

假设用户登陆不上了,必定是授予太多role了。
能够改大參数,但要重新启动库。
alter system set max_enabled_roles=148 scope=spfile;

嗯,最大值是148。不能设置为更大的了

最新文章

  1. Tea---hdu5881(规律)
  2. 数据库锁机制(一)——概述
  3. 浅谈.NET中加密和解密的实现方法分享
  4. jquery扩展 $.fn
  5. poj2104:K-th Number
  6. SQL语句的增删改查
  7. 报错:No identifier specified for entity: main.java.com.sy.entity.User的解决办法
  8. 算法练习LeetCode初级算法之设计问题
  9. 开发神器之phpstorm破解与日常使用
  10. <TCP/IP>ICMP报文的分类
  11. Java获取资源路径——(八)
  12. ubuntu shell编程笔记
  13. 实践中总结出来对heapq的一点理解
  14. [Umbraco] macro(宏)在umbraco中的作用
  15. 使用 udev 管理 Linux 设备文件
  16. Lucene Scoring 评分机制
  17. Git常用命令速查手册
  18. Android(java)学习笔记53:局部内部类
  19. 【Tech】CAS多机部署Server和Java Client端
  20. 51Nod 1094 和为k的连续区间

热门文章

  1. Vue组件之间通信的三种方式
  2. 联想 Z5 Pro(L78031)免解锁BL 免rec 保留数据 ROOT Magisk Xposed 救砖ZUI 10.0.355
  3. 连接服务器的mysql
  4. 【C++】智能指针简述(六):智能指针总结及补充
  5. 8月中旬之后的学习计划 --- react
  6. Oracle 11g 字符集修改
  7. JavaScript day1(注释)
  8. 关于C++中字符串输入get与getline的区别
  9. 洛谷 P1280 尼克的任务 (线性DP)
  10. Linux 服务器 U盘安装(避免U盘启动)以及拔除U盘后无法引导系统