Resources / Blogs
Oracle Tablespace Utilization by Schema Name
Oracle tablespace utilization script.

The script below comes handy for a database developer/dba to find out the total tablespace utilized in GB for a given schema:
Tablespace utilization in GB for a given ownerSELECT tablespace_name,sum(bytes)/1024/1024/1024 AS total_size_gbFROM dba_segmentsWHERE owner = '<OWNER>'GROUP BY owner, rollup(tablespace_name);
Example – Below is the example to find the total tablespace untilization for user – SCOTT:
SELECT tablespace_name,sum(bytes)/1024/1024/1024 AS total_size_gbFROM dba_segmentsWHERE owner = 'SCOTT'GROUP BY owner, rollup(tablespace_name);