Database Administration (MOSC)

MOSC Banner

Is it possible to extract the datafile sizes of read only PDB from CDB client connection

edited Apr 12, 2022 8:07PM in Database Administration (MOSC) 2 commentsAnswered

I would like to extract the data file and temp file sizes from all PDBS in a CDB using a client connection.

The views I am using are CDB_DATA_FILES and CDB_TEMP_FILES.

The issue I have is that some of the PDBs are read/only and I get

"ORA-16000: database or pluggable database open for read-only access"

Which does not make sense because I am only reading data.

Is there some other way I can do this without having to log onto the database server and directly connect to the database?

This appears to affect both 12 and 19c Oracle databases.

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