查看表空间的名称及大小
Oracle
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;
同类其他面试题 点击新一篇或旧一篇可浏览全部同类面试题
新一篇:查看表空间物理文件的名称及大小
