ORA-28031: maximum of string enabled roles exceeded
Answer Posted / cvbb
At first time you can think about max_enabled_roles
parameter but max_enabled_roles parameter has nothing to do
if you enable 148 user-defined roles.
In fact this parameter is deprecated. It is retained for
backward compatibility only. You can see this parameter
settings by,
SQL> show parameter max_enable
NAME TYPE VALUE
———————————— ——————————— ——————————
max_enabled_roles integer 150
Though this parameter is set to 150 and you have enabled 148
user defined roles but additional user-defined roles can’t
be enabled because of the actual number of roles that users
can enable is 148. So max_enabled_roles is 2 plus 148,
because each user has two additional roles, PUBLIC and the
user’s own role.
As there is limit to 148 so you have to disable fewer roles
or drop some roles and reorganize your database role policy.
You can enable or disable roles by using the SET ROLE
statement for your current session.
If you want to enable all roles except manager and clerk
role then use,
SET ROLE ALL EXCEPT manager, clerk;
Remember roles listed in the EXCEPT clause must be roles
granted directly to you. They cannot be roles granted to you
through other roles.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
ORA-26094: stream format error: input column overflow
IMP-00096: Warning: Skipping table "string"."string" because type synonym "string"."string" cannot be created
ORA-16627: No standby databases support the overall protection mode.
[ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) Unsuccessful: alter table user.CEN_USER_MASTER add constraint FKF4EDEDC3D0BAAE75 foreign key (ROLE_ID) references user.CEN_ROLE_MASTER [ERROR] [main 11:01:20] (JCLLoggerAdapter.java:error:454) ORA-02275: such a referential constraint already exists in the table
when i ran any workflow or session, getting below error: seesion task instance[s_xxx]: Execution terminated unexpecterdly
ORA-26027: unique index string.string partition string initially in unusable state
How to resolve QSM-01108 error. I have no OR conditions in my query, but do have 9 IN conditions. The error says the max limit is 2 while I have 257 number of disjuncts. However, if I remove even a single IN condition, the query is rewritten. I cannot change my query. How can I resolve this issue?
In my project I am using star schema and only diimension tables are loaded and not fact tables any one can help me why it is happening? Plase guide me.
IMP-00064: Definition of LOB was truncated by export
ORA-16626: failed to enable specified object
IMP-00063: Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier
NZE-28868: Peer certificate chain check failed.
ORA-26082: load of overlapping segments on table string.string is not allowed
invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity
ORA-26079: file "string" is not part of table string.string