日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

ORA-01925:maximum of 80 enabled roles exceeded

發布時間:2024/4/14 编程问答 37 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ORA-01925:maximum of 80 enabled roles exceeded 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
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。不能設置為更大的了

?


總結

以上是生活随笔為你收集整理的ORA-01925:maximum of 80 enabled roles exceeded的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。