My Oracle Support Banner

View V$XS_SESSION_ROLE exists starting with 12c, pointing to a non-existing object (Doc ID 2217023.1)

Last updated on AUGUST 31, 2023

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 12.1]
Oracle Multimedia - Version to [Release 12.1]
Information in this document applies to any platform.


View V$XS_SESSION_ROLE exists starting with 12c.

Customer complains that there is a miss match:

The bellow query specifies that the synonym V$XS_SESSION_ROLE owned by user PUBLIC is linked to table V$XS_SESSION_ROLES which is owned by user SYS.
select * from dba_synonyms where owner = 'PUBLIC' and synonym_name = 'V$XS_SESSION_ROLE';

The bellow query specifies that there is an object V$XS_SESSION_ROLES owned by PUBLIC (not SYS)
select owner, object_name from DBA_OBJECTS WHERE OBJECT_NAME='V$XS_SESSION_ROLES';


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.