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 JANUARY 28, 2022

Applies to:

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

Symptoms

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';

Cause

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
Symptoms
Cause
Solution
References


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