ORA-01925: maximum of 80 enabled roles exceeded

Source: Internet
Author: User

ORA-01925: maximum of 80 enabled roles exceeded
Max_enabled_roles 9i parameter, 10 Gb or later. Specifies the maximum number of enabled roles for a user session.
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 ).
Check that the system uses a lot of role users, but this does not include select grantee, count (*) from dba_role_privs group by grantee order by count (*) desc;
You can also directly query the number of role in the current session enable select count (*) from session_roles;
If the user cannot log on, it must be granted too many role. You can change the size of the parameter, but you need to restart the database. Alter system set max_enabled_roles = 148 scope = spfile;

Well, the maximum value is 148. It cannot be set to a larger value.

 


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.