This article explains how to monitor Oracle 12c and higher multitenant databases in Foglight, including both Container Databases (CDBs) and Pluggable Databases (PDBs). It outlines the requirements, known limitations, and steps for successful configuration.
CDB$ROOT.ORA-65096: invalid common user or role name
For CDB Monitoring:
c##foglight) created in the CDB$ROOT container.CDB$ROOT.For PDB Monitoring (Oracle cartridge 7.3.2.11+):
CREATE SESSION, CONNECT).SYSTEM account; use a dedicated user with appropriate roles.Notes:
SELECT decode(cdb,'YES',1,0) AS is_pluggable FROM v$database;
SELECT cdb FROM v$database;
SELECT sid, con_id FROM V$session WHERE sid = sys_context('USERENV','SID');