Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-28031: maximum of 148 enabled roles exceeded

DarkwingDuckApr 9 2019 — edited May 12 2019

Hi

I'm migrating data from 11.1 to 18c. We decided to do this via datapump.

Normaly, I create the roles first, then the user - which worked fine on many databases.

However, there are over 500 (yes!) roles in the system, one role for each applikation user.

If I create the roles (as sys) the user sys is  granted each role, so the user sys belongs to over 500  (sic!) roles.

When starting the import it runs in the error "ORA-28031: maximum of 148 enabled roles exceeded".

Of course, I can revoke the roles from sys user by an script. I there any way to get around this?

Further, I must admit: I did not know that creating a role makes the creator member of the group.

This post has been answered by DarkwingDuck on Apr 16 2019
Jump to Answer
Comments
Post Details
Added on Apr 9 2019
2 comments
2,858 views