V$SESSIONS_COUNT

V$SESSIONS_COUNT displays the current number of sessions for each PDB.


Column Datatype Description

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

CURRENT_COUNT

NUMBER

Displays the current number of sessions for the PDB. This count includes recursive sessions.