Skip Headers
Oracle® Database Reference
12c Release 1 (12.1)

Go to Documentation Home
Go to Book List
Book List
Go to Table of Contents
Go to Index
Go to Master Index
Master Index
Go to Feedback page
Contact Us

Go to previous page
Go to next page
PDF · Mobi · ePub


V$SES_OPTIMIZER_ENV displays the contents of the optimizer environment used by each session. When a new session is first created, it automatically inherits its optimizer environment from the optimizer environment defined at the instance level by V$SYS_OPTIMIZER_ENV. The value of certain parameters can be dynamically modified by issuing an ALTER SESSION statement.

Column Datatype Description
SID NUMBER Session identifier. This column can be used to join with V$SESSION on the SID column.
ID NUMBER Unique identifier of the parameter in the optimizer environment
NAME VARCHAR2(40) Name of the parameter
SQL_FEATURE VARCHAR2(64) Associated feature control ID
ISDEFAULT VARCHAR2(3) Indicates whether the parameter is set to the default value (YES) or not (NO)
VALUE VARCHAR2(25) Value of the parameter for the session
CON_ID NUMBER The ID of the container to which the data pertains. Possible values include:
  • 0: This value is used for rows containing data that pertain to the entire CDB. This value is also used for rows in non-CDBs.

  • 1: This value is used for rows containing data that pertain to only the root

  • n: Where n is the applicable container ID for the rows containing data