ORA-47401: Realm violation for CREATE INDEX on another Schema Table
(Doc ID 2884647.1)
Last updated on JULY 27, 2022
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11.0 and later
Information in this document applies to any platform.
User "DEPLOY_ACCOUNT" could create a table in another user "SCHEMOBJ_ACCOUNT" but could NOT create an index for that table created and got error ORA-47401.
"DEPLOY_ACCOUNT" is the account executing the creation of table and its index, also it is the owner of realm MY APP REALMNAME - its authorization is as Owner.
-- connect as DEPLOY_ACCOUNT (with DBA role granted)
create table SCHEMOBJ_ACCOUNT.TEST_TABLE (a varchar2(100),pdb_code varchar2(2) default '00') tablespace tbsdata_01;
create index SCHEMOBJ_ACCOUNT.TEST_INDEX01 on SCHEMOBJ_ACCOUNT.TEST_TABLE (a) tablespace tbsindx_01;
create index SCHEMOBJ_ACCOUNT.TEST_INDEX01 on SCHEMOBJ_ACCOUNT.TEST_TABLE (a) tablespace tbsindx_01
ERROR at line 1:
ORA-47401: Realm violation for CREATE INDEX on SCHEMOBJ_ACCOUNT.TEST_TABLE
Table was successfully create but at time to create an index for that table then it fails with ORA-47401: Realm violation.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document