ORA-01925:maximum of 80 enabled roles exceeded
2024-08-30 17:35:20
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.
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。不能设置为更大的了
最新文章
- Tea---hdu5881(规律)
- 数据库锁机制(一)——概述
- 浅谈.NET中加密和解密的实现方法分享
- jquery扩展 $.fn
- poj2104:K-th Number
- SQL语句的增删改查
- 报错:No identifier specified for entity: main.java.com.sy.entity.User的解决办法
- 算法练习LeetCode初级算法之设计问题
- 开发神器之phpstorm破解与日常使用
- <;TCP/IP>;ICMP报文的分类
- Java获取资源路径——(八)
- ubuntu shell编程笔记
- 实践中总结出来对heapq的一点理解
- [Umbraco] macro(宏)在umbraco中的作用
- 使用 udev 管理 Linux 设备文件
- Lucene Scoring 评分机制
- Git常用命令速查手册
- Android(java)学习笔记53:局部内部类
- 【Tech】CAS多机部署Server和Java Client端
- 51Nod 1094 和为k的连续区间
热门文章
- Vue组件之间通信的三种方式
- 联想 Z5 Pro(L78031)免解锁BL 免rec 保留数据 ROOT Magisk Xposed 救砖ZUI 10.0.355
- 连接服务器的mysql
- 【C++】智能指针简述(六):智能指针总结及补充
- 8月中旬之后的学习计划 --- react
- Oracle 11g 字符集修改
- JavaScript day1(注释)
- 关于C++中字符串输入get与getline的区别
- 洛谷 P1280 尼克的任务 (线性DP)
- Linux 服务器 U盘安装(避免U盘启动)以及拔除U盘后无法引导系统