Skip to Main Content
  • Questions
  • OEM Repository Views - Database size

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Terri.

Asked: June 23, 2020 - 7:01 pm UTC

Last updated: June 29, 2020 - 5:55 am UTC

Version: 12.2

Viewed 1000+ times

You Asked

I've been tasked with querying OEM repository for the size of each database, which seems to be a bit difficult to find. I've tried sysman.MGMT$DB_TABLESPACES for used_size but get negative numbers returned.

Could you please assist?
Thank you!

and Connor said...

Check out sysman.mgmt$metric_current

for the labels

'Tablespace Allocated Space (MB)'
'Tablespace Used Space (MB)'
'Tablespace Free Space (MB)'

Rating

  (1 rating)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Thank you!

Terri, June 27, 2020 - 3:24 am UTC

Thank you for answering my question! There are so many mgmt tables, this helped.
Connor McDonald
June 29, 2020 - 5:55 am UTC

Glad we could help

More to Explore

Administration

Need more information on Administration? Check out the Administrators guide for the Oracle Database