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.