Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Get the size of database
If you are wanting physical space:
Space Allocated:
select tablespace_name, sum(bytes) total_size
from dba_data_files
group by tablespace_name;
Free Space:
select tablespace_name, sum(bytes) total_free
from dba_free_space
group by tablespace_name;
If you are wanting memory:
select * from v$sga;
Kenny Gump
OCP 7.3 DBA