Page 1 of 1

Calculate schema size in MB

Posted: Wed Nov 02, 2022 5:25 am
by admin
Normally companies are giving APEX as a service and they need to calculate the space used by each Schema/WS,

select owner, sum(bytes)/1024/1024 Size_MB from dba_segments
group by owner;

Re: Calculate schema size in MB

Posted: Wed May 03, 2023 4:16 am
by SadeqEzzan123
Select owner, sys.dbms_xplan.format_size(bytes) as SIZE_MB from sys.dba_segments;