My Oracle Support Banner

How Sessions get Their AUDSID Identifier (Doc ID 122230.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 8.1.7.4 and later
Information in this document applies to any platform.
***Checked for relevance on 07-Aug-2017***

Purpose

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. 

Scope

This document may be useful to Database Administrators and Application Developers. 

Details

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


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