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
IMP-00060: Warning: Skipping table "string"."string" because object type "string"."string" does not exist or has different identifier
ORA-26032: index string.string loading aborted after string keys
if the lengths of two wires are same and the area of cross sections is 4:7 then what will be the ratio of current passing through these wires
[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
NZE-28868: Peer certificate chain check failed.
ORA-26079: file "string" is not part of table string.string
IMP-00063: Warning: Skipping table "string"."string" because object type "string"."string" cannot be created or has different identifier
NZE-28890: Entrust Login Failed
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-26030: index string.string had string partitions made unusable due to:
invalid quantity specification negative quantity are not allowed for this item please check this item definition quantity
ORA-26084: direct path context already finished
ORA-26028: index string.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?