6.15 DBA_HIST_OPTIMIZER_ENV_DETAILS

DBA_HIST_OPTIMIZER_ENV_DETAILS displays parameter values for the optimizer environments that have been captured in the Workload Repository.

This view is used with the DBA_HIST_SQLSTAT view.

Column Datatype NULL Description

DBID

NUMBER

NOT NULL

Database ID

OPTIMIZER_ENV_HASH_VALUE

NUMBER

NOT NULL

Hash value for the optimizer environment

NAME

VARCHAR2(50)

Parameter name

VALUE

VARCHAR2(25)

Parameter value

CON_DBID

NUMBER

The database ID of the PDB for the sampled session

CON_ID

NUMBER

The ID of the container that CON_DBID identifies. 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

Note:

This view is available starting with Oracle Database 23ai.