How Sessions get Their AUDSID Identifier
(Doc ID 122230.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 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!