Oracle Database / Multitenant, Patching & Deployment
Check PDB open state when a service stops accepting logins
The CDB instance can be running while an application's PDB is mounted or restricted. Inspect the correct container from an authorized root session.
Environment and inputs: Oracle Database 19c baseline · SQL*Plus-compatible SQL unless RMAN, DGMGRL, ADRCI or a host shell is specified. Check release, patch level, edition and container first.
Start with this diagnostic
Run each example in the tool named in the guide: SQL, RMAN, DGMGRL or the host command shell. Replace example names with approved values. To query DBA and V$ views, use authorized catalog access in the correct database container. Do not add broad permissions just to run an example.
SELECT con_id, name, open_mode, restricted FROM v$pdbs ORDER BY con_id;
What the results mean
OPEN_MODE and RESTRICTED identify each visible PDB's current state. Root availability does not establish application PDB readiness.
Fix the cause and check again
Compare the intended PDB with its service registration and maintenance history. Restore the approved open state through the DBA's normal management process.
Before you make a change
Do not open every PDB or remove restricted mode while maintenance is still in progress.