Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to calculate free space or % space let in PDB Tablespace from CDB

User286465Dec 3 2015 — edited Dec 3 2015

Hi all,

I have below query to get details of  data files of pdb from cdb.

SELECT p.PDB_ID, p.PDB_NAME, d.FILE_ID, d.TABLESPACE_NAME, d.FILE_NAME,d.BYTES

  FROM DBA_PDBS p, CDB_DATA_FILES d

  WHERE p.PDB_ID = d.CON_ID

  AND  d.TABLESPACE_NAME = 'DUMMY'

  ORDER BY p.PDB_ID;

Please help me to get  percentage_used sapce , space_free space_used fro PDB table space from CDB

Thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2015
Added on Dec 3 2015
7 comments
4,029 views