oracle table space name to see the size and the physical path

- 1, and the name for the table space size
SELECT
t.tablespace_name,
round (SUM (bytes / (1024 * 1024)), 0) ts_size
from
DBA_TABLESPACES T,
dba_data_files D
WHERE
t.tablespace_name = d.tablespace_name
Group by T. tablespace_name;

- 2, to see the name of the table space and the physical file size of
the SELECT
tablespace_name,
file_id, file_name,
round (bytes / (1024 * 1024), 0) total_space
from
dba_data_files
the Order by tablespace_name;

Guess you like

Origin www.cnblogs.com/rdchen/p/11303595.html