SQL Language (MOSC)

MOSC Banner

V$SESSMETRIC data unavailable inside PDB

Select from V$SESSMETRIC for PDB in multitenant database returns no rows:

 connect SYS…

 alter session set container = cdb$root;

 select count (1)

   from SYS.V$SESSMETRIC;

 -- OK

 alter session set container = pdb1;

 select count (1)

   from SYS.V$SESSMETRIC;

 0


Is it a bug? I have found no documentation about unavailability of this view in PDB.

Tested on XE 18 on Windows, 19.8 win64, 19.9 Linux.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center