Search notes:

DBA_TABLESPACE_USAGE_METRICS / CDB_TABLESPACE_USAGE_METRICS

dba_tablespace_usage_metrics
select
   tsm.tablespace_name,
   round(tsm.used_space       / 1024/1024,1)  used_space_mb,
   round(ts.max_size          / 1024/1024,1)  max_size_mb,
   round(tsm.tablespace_size  / 1024/1024,1)  size_mb,
   to_char(tsm.used_percent, '990.00')        used_percent,
   ts.block_size              / 1024          block_size_kb,
   ts.logging,
   ts.def_tab_compression,
   ts.compress_for
from
   dba_tablespace_usage_metrics tsm  join
   dba_tablespaces              ts on tsm.tablespace_name = ts.tablespace_name
order by
   tsm.used_percent desc;
Github repository Oracle-Patterns, path: /Installed/data-dictionary/tablespace/usage_metrics/show.sql

See also

tablespace
data dictionary

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758205627, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/installed/data-dictionary/tablespace/usage_metrics/index(58): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78