How Sessions get Their AUDSID Identifier
(Doc ID 122230.1)
Last updated on MAY 05, 2020
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 07-Aug-2017***
Sessions connecting to an Oracle database have a number of identifiers assigned to them which can be found in the V$SESSION dynamic view.
One of these identifiers is V$SESSION.AUDSID.
This identifier is particularly useful because it can also be obtained by a session using the SQL function USERENV('SESSIONID').
In this way, a session can find its own session-related information.
This Bulletin explains how the value of the identifier V$SESSION.AUDSID is determined for a session.
This document may be useful to Database Administrators and Application Developers.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!